When a detail field in grid is made visible and then the filter editor is shown, the filter editor of the detail field does not appear.
If the filter editor is shown first and then the detail item, it works fine.
My sample code was as follows first:
But then I noticed that "detail" property is not listed in ListGridFields so I thought I might be misusing the list grid control. So added a datasource and got the same problem:
OS: Windows 7
Browsers:
Google Chrome 19.0.1084.52 m
Log Messages:
07:44:28.354:INFO:Log:initialized
07:44:29.735:INFO:Log:isc.Page is loaded
07:44:29.948:TMR0:DEBUG:ListGrid:grid:setRect: {left: null, top: null, width: "100%", height: "100%"}
No js errors on console
SmartClient Version: v8.2p_2012-05-25/Pro Deployment (built 2012-05-25)
If the filter editor is shown first and then the detail item, it works fine.
My sample code was as follows first:
Code:
isc.ListGrid.create({ ID: "grid", width: "100%", height: "100%", fields: [{ name: "id", detail: true }, { name: "title"}] }); grid.showField("id"); grid.setShowFilterEditor(true);
Code:
isc.DataSource.create({ ID: "testDS", clientOnly: true, fields: [ { primaryKey: true, name: "id", type: "integer", detail: true }, { name: "title", type: "text" } ], testData: [ { id: 1, title: "Good" }, { id: 2, title: "Bad" } ] }); isc.ListGrid.create({ ID: "grid", width: "100%", height: "100%", dataSource: testDS, fields: [{ name: "id" }, { name: "title"}] }); grid.showField("id"); grid.setShowFilterEditor(true);
Browsers:
Google Chrome 19.0.1084.52 m
Log Messages:
07:44:28.354:INFO:Log:initialized
07:44:29.735:INFO:Log:isc.Page is loaded
07:44:29.948:TMR0:DEBUG:ListGrid:grid:setRect: {left: null, top: null, width: "100%", height: "100%"}
No js errors on console
SmartClient Version: v8.2p_2012-05-25/Pro Deployment (built 2012-05-25)