i 've a dhtmlxgrid with 4 columns. The first two column types are ‘ed’ the third and fourth column types are ‘combo’.
If the user change an entry in the combo of third column the datas in the last combo should be updated and refreshed. My code:
mygrid = new dhtmlXGridObject(‘mygrid_container’);
mygrid.setColTypes(“ed,ed,combo,combo”);
(…)
mygrid.init();
dp = new dataProcessor(…);
(…)
dp.init(mygrid);
(…)
combo.attachEvent(“onSelectionChange”, function()
{ …load datas from a database…
});
When datas are loaded:
var combo = mygrid.getCustomCombo(mygrid.getSelectedRowId(),3);
combo.clear();
combo.put(…);
I see the datas come in the combo but the view in mygrid will not refresh.
Why?