Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by partha thakura on Nov 25, 2007 23:11
open dhtmlx forum
Combobox on change event on dhtmlx grid

how can i add the select on chage event on combo box within a dhtmlx grid?
Answer posted by Stanislav on Nov 26, 2007 02:49
The grid already have onChange event for any editors in grid, you can use

grid.attachEvent("onCellChanged",function(id,index,value){
    //called each time when cell changed
})

or

grid.attachEvent("onEditCell",function(stage,id,index,value){
    if (stage==2){
        //called each time after cell edited
    }
    return true;
})