PDA

View Full Version : Extjs tree enable filtering and disable sorting



JunW
25 Jul 2014, 3:17 PM
I am working on a project that uses the Sencha tree Panel. For the 'treecolumn', I would like to enable filtering and disable sorting, but if I make 'sortable: false' and 'filterable: true' (like below), both filtering and sorting will be disable. Is there a way to only disable sorting?
columns: [ { xtype: 'treecolumn', text: localizeCommon('name'), dataIndex: 'Name', filter: { type: 'string' }, sortableColumns: false, sortable: false, filterable: true, flex: 4, renderer: renderNode }]

Gary Schlosberg
31 Jul 2014, 7:05 AM
I don't see a 'filterable' config available for the tree column. Which version of ExtJS are you running?