Skip to content

Loading…

Filter widget: Values for filter-select dropdown should be sortable #103

Closed
riker09 opened this Issue · 4 comments

2 participants

@riker09

The values that get extracted from the table rows and grouped together in the option list should be sorted by default. I'm guessing a natural sort makes sense. This should be another headercolum option (see #102).

If my table contains a column with these values:

  • ABCD 1
  • ABCD 2
  • ABCD 2
  • ABCD 3
  • ABCD 1
  • ABCD 12
  • ABCD 12
  • ABCD 24

and the column has the filter-select option set the options of the drop down should be sorted with a natural sort by default:

  • ABCD 1
  • ABCD 2
  • ABCD 3
  • ABCD 12
  • ABCD 24
@Mottie
Owner

Hmm, in order to use the natural sort in a widget, I think I'm going to have to make the sortText function public. Not that big of a deal I guess.

@riker09

I guess you're busy working on version 3 or are there any news on this issue?

@Mottie
Owner

I'm sorry... life has been hectic around here. I haven't had a chance to work on the plugin for a while. But good news, it's pretty much all done. I'm just working on the documentation now. I hope to have version 2.4 posted before this weekend.

@Mottie
Owner

Ok, version 2.4 is now live. It now does a natural sort on the select options.

@Mottie Mottie closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.