Controlling Active Content

I have an active grid which contains a checkbox cell and now need to control the state of the checkbox problematically. Do you know how I can get a handle to the checkbox control?


Using the documentation the closest I can get is reading the value but there is no setValue() method on the checkbox component :

for(var key in _a.checkedRows)
    $$(_a.NAME + '_grid').item( _a.checkedRows[key].id).checkboxButton.setValue(0);

You need to use Grid (DataStore) API to set some property of data item and redraw this item:

$$(“yourGrid”).item(“itemId”).checkboxButton= 0;