h2oai / wave

Realtime Web Apps and Dashboards for Python and R
https://wave.h2o.ai
Apache License 2.0
3.98k stars 327 forks source link

Enable sort of filterable items in the table column #1969

Closed us8945 closed 1 year ago

us8945 commented 1 year ago

Is your feature request related to a problem? Please describe

When ui.column has "filterable=True", the filterable items are displayed in the random order, which makes finding items to filter on hard.

Describe the solution you'd like

Describe alternatives you've considered

N/A

Additional context

mturoci commented 1 year ago

The order can be controlled with filters attribute on a filterable table column. Works for paginated tables only, regular client side table should not need this as they are expected to have less data. For tables with a lot of data, pagination is required anyway.

mturoci commented 1 year ago

As of version 0.26.0, the constraint above was removed and filters can be used for both paginated and client-side tables.