dhtmlXgrid

I have couple few questions in dhtmlXGrid, I will really appreciate if answered.



1) I have a grid with 3 columns I enter some number in one of the cell in second column.

I want some default data to set in same row but in third column is it possible how?



2) can I have button in cell, which will allow me to click, and after clicking it will flip it’s status.



>>I have a grid with 3 columns I enter some number in one of the cell in second column.

I want some default data to set in same row but in third column is it possible how?


this can be done by onCellChangedevent

grid.attachEvent(“onCellChanged”,function(id,ind,value){
    if (ind==1)
       grid.cells(id,2).setValue(value);
}



>>can I have button in cell, which will allow me to click, and after clicking it will flip it’s status.
It can be created as custom cell editor ( actually cell content threated as HTML, so in most simple case you can provide all necessary html and javascript as cell value )
PRO package contains “acheck” excell which provides similar functionality.