PDA

View Full Version : access column comparator



Tom48
21 Aug 2009, 12:22 AM
Hello,

I hope someone can help please. I like to change the comparator in a ColumnCofig, cause the normal on just compares two Strings but I want to compare for other rules. Is that posible with a method or do I have to overwrite the ColumnConfig class. Unfortunately I can't find the right method.

Chao,

Tom

micgala
21 Aug 2009, 1:39 AM
Hi.

Please take a look into the setModelComparer in the Store class.
This can help you.

If you also need to change the sorter, the method setStoreSorter can be helpful.

Regards,
michel.

Tom48
21 Aug 2009, 3:31 AM
Thank you very much, that was what I needed.