This is a very strange but serious problem we've been experiencing...
When we initialized a listgrid with one or more frozen fields as well as showFilterEditor:true, everything appeared to work well. Then I decided to unfreeze a column, and suddenly all filterEditor fields that are based on CanvasItem becomes blank (darkgrey), while adding previously hidden ones that are also based canvasitem is fine...
After some investigation, I am now able to isolate this issue with a simple test case
Now if you unfreeze the countryName, the population filterHeader(a ButtonItem just for simplification) will get greyed out.
This is reproducible on latest showcase. We have purchased basic support.
When we initialized a listgrid with one or more frozen fields as well as showFilterEditor:true, everything appeared to work well. Then I decided to unfreeze a column, and suddenly all filterEditor fields that are based on CanvasItem becomes blank (darkgrey), while adding previously hidden ones that are also based canvasitem is fine...
After some investigation, I am now able to isolate this issue with a simple test case
Code:
isc.DataSource.create({ ID: "countryDS", fields:[ {name:"countryName", frozen:true, type:"text", title:"Country"}, {name:"countryCode", type:"text", title:"Code"}, {name:"independence", title:"Independence", type:"dateTime"}, {name:"population", title:"Population", type:"integer"}, {name:"gdp", title:"GDP ($B)", type:"float"} ], clientOnly: true }); isc.ListGrid.create({ ID: "countryList", width:500, top:50, alternateRecordStyles:true, dataSource: countryDS, autoFetchData: true, autoFitData: "vertical", showFilterEditor: true, getFilterEditorType:function(aInField_o) { if(aInField_o.type === "integer") { return "ButtonItem"; } else { return this.Super("getFilterEditorType", arguments); } }, autoFitMaxRecords: 10 });
This is reproducible on latest showcase. We have purchased basic support.
Comment