-
30 Apr 2009 2:10 AM #1
Remove field from sorting of column
Remove field from sorting of column
im using Grouping store in grid ,i have to group the list with respect to User mentioned below but i dont want to show the User in sort--->columns---> how can remove User alone from that column
for exampleCode:this.columnModel = new Ext.grid.ColumnModel([new Ext.grid.RowNumberer() { header: 'Domain', readOnly: true, dataIndex: 'name', width: 200, hidden: false }, { header: 'User', readOnly: true, dataIndex: 'user', width: 60, hidden: true, }]);
http://www.extjs.net/deploy/dev/exam...id-filter.html
from above mentioned page i dont want to show "Company" in sorting--->Columns--> , how can i do that
-
30 Apr 2009 2:38 AM #2Sencha - Community Support Team
- Join Date
- Mar 2007
- Location
- The Netherlands
- Posts
- 24,251
- Vote Rating
- 43
Columns with fixed:true or hideable:false are not shown in the columns menu.
-
30 Apr 2009 3:13 AM #3
try the following (as condor said too):
Code:this.columnModel = new Ext.grid.ColumnModel([new Ext.grid.RowNumberer() { header: 'Domain', readOnly: true, dataIndex: 'name', width: 200, hidden: false }, { header: 'User', readOnly: true, dataIndex: 'user', width: 60, hidden: true, hideable: false }]);


Reply With Quote