onSortingChange: undefined gives a manual sorted table
Hi!
I have a custom Table component that I would like to use for tables with and without manual sorting.
I expected that this would give me a table without manual sorting
state: undefined
works, but setting onSortingChange: undefined
does not work as I expected, I stil get a manual sorted table.
How can I get around this?
My customTable component:
All mye tables have the same styling which is why I would like to use the same custom Table component on both manual and non-manual sorted tables.0 Replies