PDA

View Full Version : Remove sorting from grid



JSassy
16 Jan 2014, 2:38 AM
Hello,

I am using a sortable grid, thus, when the header is clicked the appropriate column gets sorted (standard extjs functionality).

But how could the sorting be removed?
Is there any possibility (programmatically) to remove the sort-direction from the column?

Gary Schlosberg
17 Jan 2014, 4:25 PM
Perhaps this thread will help:
http://www.sencha.com/forum/showthread.php?112618

willigogs
18 Jan 2014, 7:51 AM
http://docs.sencha.com/extjs/3.4.0/?mobile=/api/Ext.grid.ColumnModel#cfg-defaultSortable

JSassy
19 Jan 2014, 11:47 PM
Ok thank you for your replies.

Is a column clicked once, it will always be sorted again while switching pages. I just want to release the column from the sorted state, like a filter that can be removed. I don't need to reorder the columns by anything.

Sorry for my english.