Thank you thats works perfectly!! :)
But it seems that the SortNormalizer has no effect to the sortByProperty method on the grid. Could that be?
Announcement
Collapse
No announcement yet.
X
-
SortNormalizer has been updated in SVN to have a return type Object in order to support String comparators.
Leave a comment:
-
How works SortNormalizer?
Hello,
i'm trying to use the SortNormalizer to make a custom sort on a ListGrid. Here is my code:
Code:ListGridField nameField = new ListGridField("name"); nameField.setSortNormalizer(new SortNormalizer(){ public double normalize(ListGridRecord record, String fieldName) { return 0; } });
Tags: None
Leave a comment: