pavankataria / SwiftDataTables

A Swift Data Table package, display grid-like data sets in a nicely formatted table for iOS. Subclassing UICollectionView that allows ordering, and searching with extensible options.
MIT License
448 stars 69 forks source link

Remove sort arrow #47

Open MariusGen1 opened 4 years ago

MariusGen1 commented 4 years ago

Hi, Would it be possible to add an option to remove the sort arrow? Something like:

configuration.showSortArrow = false

Marius

pavankataria commented 4 years ago

How would you know which way the sorting order is then at an instant?

nikolaveljic64 commented 4 years ago

Default sorting order can be from json which you get. @pavankataria

Thanks.

pavankataria commented 4 years ago

I meant visually, the user wouldn't know the order at a glance.

Would you expect there to be sorting capability (tapping on the column headers) if the showSortArrow property was set to false?

dipen-apptrait commented 4 years ago

It will be good to have an option to hide the sorting arrow and when it is hidden user can not tap on the column header to sort.

pavankataria commented 3 years ago

I like this idea @dipen-apptrait . I welcome pull requests.

harifsp commented 3 years ago

How can I disable the sort option? Please help!