Referring to: https://www.smartclient.com/smartcli...ase/?id=filter
I've modified the code
When run, it shows that both .filterEditor and .filterEditorProperties are undefined.
I would like to modify the background color on the filter editor row. Is this the correct approach or is there another way?
Thanks.
I've modified the code
Code:
var grid = isc.ListGrid.create({
ID: "countryList",
width:500, height:300, alternateRecordStyles:true,
dataSource: worldDS,
fields:[
{name:"countryCode", title:"Code", width:60},
{name:"countryName", title:"Country"},
{name:"capital", title:"Capital"},
{name:"continent", title:"Continent"}
],
autoFetchData: true,
showFilterEditor: true // <-- If showFilterEditor is set to true, the filterEditor is automatically created as an AutoChild.
});
say("filterEditor=" + grid.filterEditor + "<br/> filterEditorProperties=" + grid.filterEditorProperties);
I would like to modify the background color on the filter editor row. Is this the correct approach or is there another way?
Thanks.
Comment