grid combo

I have a dhtmlxgrid with one column is a combo-box with values x,y,z. The default value displayed is “x”; How to fine-control the combo-box in grid? I want to set “y” as the default value…
please help me…


curruently this taking the value x ; ie x
on clicking one button , i want to make it display y, such x, z should be in list also.

Actual value in combo-box is defined by the value in XML
You can change it programmatically, as any other cell in the grid.

grid.cells(id, index).setValue(y);