View Full Version : how to cancel sort's status on grid's header

28 Oct 2013, 12:16 AM
when user has clicked grid'header to sort records,how to cancel the sort's status

28 Oct 2013, 12:51 AM
By inspecting the element you could see .x-column-header-text's background image style has been used to display the sort's status, so modifying that style in your css and

.customHeader, .x-column-header-text{
background-image: none !important;

adding cls: 'customHeader', to the grid should hide the status

28 Oct 2013, 3:13 AM
thanks Piruthu.My question is "data how to restore to unsort status?"

Gary Schlosberg
28 Oct 2013, 4:50 AM
You can't 'unsort' a column, so you'll probably need to include a column which has the order you'd like to restore (like your ID column), and sort on that to restore the order.

29 Oct 2013, 5:32 AM
I known ,thanks all.