Hello,
i'm trying to use the SortNormalizer to make a custom sort on a ListGrid. Here is my code:
The method 'normalize' returns a double value. Could anyone give a quick example how to use it. I try to sort not just over the 'name' but also over the 'type'. Thank you.
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; } });
Comment