-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
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
Add docs for sortable
Table and sorted
TableCell
#1195
Comments
/cc @ben174 |
sortable
Table and sorted
TableCellsortable
Table and sorted
TableCell
PR for typings was merged, we need docs 😄 |
Updated the description with a task list, thanks! |
Trying to wrap my head around how this sorting functionality is expected to be implemented. Shouldn't there be a onColumnSorted property for the table? I don't see it in the PR. |
It is a style only prop, it does not affect your data. Use a click handler to handle sorting and updating the sort direction. |
It seems that its not working? I have tried as:
for the sorted cell above, I tried both enums for sorted property, but the table list users the same order is there some consideration when building the table rows?
also, clicking on arrow of table header cell will not do anything, I have:
|
The prop just adds the styling to appear sortable. See the logic here: https://react.semantic-ui.com/collections/table/#variations-sortable |
See #1109 which was merged without:
The text was updated successfully, but these errors were encountered: