Skip to content

Conversation

@tuckerconnelly
Copy link

Adds the ability to sort columns by clicking the table header. Accepts an onClick in the model, which will make the column clickable. Then, you can pass props.sortColumn and props.sortDirection into the <Table /> to get the up/down icon to display.

@javivelasco
Copy link
Member

Thank you @tuckerconnelly I have been keeping this unmerges because the Table is already deprecated in favour of a more flexible version. We are keeping the 1.x in the master branch so if you think it's worthy feel free to open a PR there. Dev holds now the 2.0 beta with some rewritten components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants