zhoupan / jmesa

Automatically exported from code.google.com/p/jmesa
0 stars 0 forks source link

Default icon for sortable columns #245

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I have a new requirement related to Jmesa sorting.

Say in a table there are 4 fields... A,B,C and D. Among them only B
and D are sortable .

This can be easily done with ..
ffieldName.setFilterable(new Boolean(false)); with A and C .

This works fine and sorting is also ok .

But the client needs an icon on the header of B and D such that the
user can very easily know which fields are sortable and which are
not .In that case the user does not require to move his mouse over the
column header (i.e. B and D ) to know which field is sortable .

I think it is a small but very much logical requirement .If
implemented, it will simply improve the user friendliness of the Jmesa
table .Can be a handy feature !!

This is more of an enhancement than an issue .
Regards,
Ayan Dutta

Original issue reported on code.google.com by mrayandu...@gmail.com on 15 Feb 2010 at 5:31

GoogleCodeExporter commented 9 years ago
Sorry I was wrong in saying the line as 
fieldName.setFilterable(new Boolean(false)); with A and C
Instead it should be 
fieldName.setSortable(new Boolean(false));

Original comment by mrayandu...@gmail.com on 17 Feb 2010 at 7:00

GoogleCodeExporter commented 9 years ago
This would be an improvement to the HtmlHeaderEditor class...patches are 
welcome!

Original comment by jeff.johnston.mn@gmail.com on 10 Mar 2011 at 9:51