PDA

View Full Version : Sort Grid but keep specific record at the top



DranoMax
5 Nov 2015, 12:37 PM
Hello everyone,

I've been trying to figure out a way to allow users to click on the headers of a gridPanel so that it sorts alphabetically (per usual) but to always keep one record (with a uniqueId that I can check on) always at the top no matter what....has anyone ever done this before? I can't seem to figure out a way to do it...

joel.watson
6 Nov 2015, 11:50 AM
Hi--

You would have to implement a custom sorter function that would return that record in the correct location.

Thanks
Joel