3.2.0

CheckBox column not getting displayed

table.response(modelValues[0].xml);
var grid = new AW.UI.Grid;
grid.setColumnCount(5);
grid.setCellModel(table);
grid.setColumnCount(5);
grid.setCellTemplate(new AW.Templates.Checkbox, 1);
grid.setCellValue(true, 1);
grid.setColumnIndices([0, 2, 4, 5]);
grid.setRowCount(table.getCount());
grid.refresh()

If use the code above to display my grid.
The four columns from table are displayed correctly,but the checkbox column(1st column) does not display anything.
Any help will be appreciated.
krash
January 29,
The checkbox column with index=1 is not displayed because you don't have it in the list of visible columns -

grid.setColumnIndices([0, 2, 4, 5]);

Alex (ActiveWidgets)
January 30,

This topic is archived.

See also:


Back to support forum