Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by KY on Mar 26, 2009 16:48
open dhtmlx forum
eXcell onchange

When creating a dhtnkXgrid via XML how do I assign the onChange call back function for columns that are combobox (co)?
Answer posted by Alex (support) on Mar 27, 2009 07:39

You can attach onEditCell event handler - the common solution for all excells:

grid.attachEvent("onEditCell",function(stage,id,index){

if(stage == 2 && index = some_index) doOnChange();

return true

})