techno_oev
1 Dec 2011, 1:38 PM
Hello,
Is there a way I can sort a grid column based on its value returned from renderer function instead of its actual value? For example: data for Column 'A' is either 0/1. I use a renderer function on that column that converts 0 to start and 1 to end. When I try to sort column A by ascending order, it sorts by the int values and hence returns start before end. Is there a way I can manipulate the code such that when I sort column A, it shows end before start?
Thanks for any help.
Is there a way I can sort a grid column based on its value returned from renderer function instead of its actual value? For example: data for Column 'A' is either 0/1. I use a renderer function on that column that converts 0 to start and 1 to end. When I try to sort column A by ascending order, it sorts by the int values and hence returns start before end. Is there a way I can manipulate the code such that when I sort column A, it shows end before start?
Thanks for any help.