View Full Version : Grid Header Sort icons
kaushikGXT
22 Dec 2010, 12:05 PM
How can we add image/icons to the grid header so that they represent the states sorted(ascending, descending) and unsorted?
Thank you,
Kaushik
sven
22 Dec 2010, 12:06 PM
This is already there. Unsorted wont show any icon, asc and desc will show an arrow: http://www.sencha.com/examples/explorer.html#basicgrid
If you want more than this, i would take a look at the ColumnHeader class to see how you could implement it.
kaushikGXT
22 Dec 2010, 12:10 PM
Thank you for the quick reply. An unsorted icon is definetely desired for our implementation. Is there a work around?
Thank you.
sven
22 Dec 2010, 12:12 PM
Workaround?
This is an unimplemented feature you are looking for, you will need to implement it on your own. Should be straight forward to do it.
kaushikGXT
22 Dec 2010, 12:41 PM
Could you please suggest how this can be achieved.
sven
22 Dec 2010, 12:41 PM
I cannot do the coding for you. Have you looked at the ColumnHeader class as i already suggested? There is only one method that you need to change.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.