Open DJCecil2 opened 6 years ago
I'm attempting to sort a table by a value of "Last Modified" by default but it doesn't seem to work.
{ dataIndex: 'updated_at', name: 'Last Updated', sortable: true, defaultSortDirection: 'ASC', renderer: ({ column, value }) => { return <DateTime key='much-unique' dateTime={value} /> } }
It places the sort icon (also not working, but probably a font issue), but it doesn't seem to be actually sorting anything (the default order still persists)
I can't find any documentation that states how to properly do this. What am I doing wrong?
Hi, has anyone found a solution?
I'm attempting to sort a table by a value of "Last Modified" by default but it doesn't seem to work.
It places the sort icon (also not working, but probably a font issue), but it doesn't seem to be actually sorting anything (the default order still persists)
I can't find any documentation that states how to properly do this. What am I doing wrong?