We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For more information, see the CONTRIBUTING guide.
CONTRIBUTING
const { Table } = require('precise-ui'); const data = [ { name: 'A', age: 21 }, { name: 'B', age: 12 }, { name: 'C', age: 25 }, ]; const cellRenderer = ({ key, data: { name, age } }) => { switch (key) { case 'name': return name; case 'age': return age; case 'name+age': return `${name}_${age}`; default: return '--'; } }; <Table data={data} columns={{ name: { header: 'Name', sortable: true }, age: 'Age', ['name+age']: { header: 'name_age', sortable: true }, }} cellRenderer={cellRenderer} />;
Expected behavior: The column is sortable.
Actual behavior: Not possible to sort the column.
Environment details: any
TBD
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug Report
Prerequisites
For more information, see the
CONTRIBUTING
guide.Description
Steps to Reproduce
Expected behavior:
The column is sortable.
Actual behavior:
Not possible to sort the column.
Environment details: any
Possible Solution
TBD
The text was updated successfully, but these errors were encountered: