Setting the filter on a remote data source. All other filters are fine as none use "title". If I hint out "title" there is no error.
{dataIndx:"DEPOT", width:80, halign:"center", title:"Depot",
filter:{
crules: [{condition:"range"}],
selectGridObj: function(ui) {
// Change the label render
ui.obj.colModel[0].renderLabel = function(ui){ return ui["rowData"]["NAME"]; };
ui.obj.colModel[0].sortable = false;
},
options: [
{DEPOT: 1, NAME: 'London Depot'},
{DEPOT: 3, NAME: "▶ London sub depot"},
{DEPOT: 2, NAME: 'Birmingham'}
],
gridOptions: {
stripeRows: false, // No stripey rows
numberCell: {show: false}, // Hide the number column
filterModel: {header: false},// Hide search box in the dropdown
selectionModel: {type:null, column:false} // Disable row selection
},
title: function(sel, ui){ return !sel ? "" : "["+sel.length+"]";}
}},
Causes the attached error.
All displays and seems to work fine, except there is an error in the console.
Thanks for the feature by the way, really good.