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

Closed
riker09 opened this Issue Jul 9, 2012 · 4 comments

Comments

Projects
None yet
2 participants
@riker09
Contributor

riker09 commented Jul 9, 2012

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

This comment has been minimized.

Show comment
Hide comment
@Mottie

Mottie Jul 9, 2012

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.

Owner

Mottie commented Jul 9, 2012

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

This comment has been minimized.

Show comment
Hide comment
@riker09

riker09 Sep 27, 2012

Contributor

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

Contributor

riker09 commented Sep 27, 2012

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

@Mottie

This comment has been minimized.

Show comment
Hide comment
@Mottie

Mottie Sep 27, 2012

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.

Owner

Mottie commented Sep 27, 2012

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

This comment has been minimized.

Show comment
Hide comment
@Mottie

Mottie Sep 27, 2012

Owner

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

Owner

Mottie commented Sep 27, 2012

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

@Mottie Mottie closed this Sep 27, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment