Display both up and down arrows for non sorted column
Closed this issue · 2 comments
dyaacov commented
Hi,
When my columns are not sorted, I would like to add both arrows so users can see that this column is sortable.
is it possible?
I've found an example how to control the sortIcon but this event is invoked only AFTER I click a cell.
https://komarovalexander.github.io/ka-table/#/sorting
Thanks!
komarovalexander commented
hi @dyaacov you can show it in headCellContent
, see the demo https://stackblitz.com/edit/table-sorting-ts-tseedw?file=Demo.tsx
dyaacov commented
Yep!
Found it a minute ago :)
Thanks!