edit a readonly cell (when user click on edit button)

Hi All,

i want to edit a row, when user click on it.

Let all the columns of the grid are read only and when user select two rows among them and click on edit button to make it editable and the rest rows still remain read only.

if any api method is available to support the above requirement then please let me know.

Thanks & Regards,
Abhi

Use

grid.attachEvent("onRowDblClicked", function(rId,cInd){});  

and change cell types manually from ‘ro’ to ‘ed’ by

mygrid.setRowExcellType("row1","ra_str");

Supplement:

For some cells use

mygrid.setCellExcellType(...);

Also you can use enableEditEvents() method:

//enable editing by single click and by pressing F2 key, disable editing by double click mygrid.enableEditEvents(true,false,true);