Categories | Question details Back To List | ||
dhtmlxGridObject with sub_row_ajax I have: mygrid = new dhtmlXGridObject('orders_grid'); mygrid.setSkin("dhx_blue"); mygrid.setImagePath("imgs/"); mygrid.attachEvent("onRowSelect",rowSelect); mygrid.init(); function rowSelect (id) { if (mygrid.cells(id,0).open){ //check that subrow exist if (mygrid.getRowById(id)._expanded) mygrid.cells(id,0).close() else mygrid.cells(id,0).open() } return true; } Now I added edit field on this grid and when I double click on the cell it causes the row to open and close. Is there a way to block the row opening when you double click on a cell to edit? Thank you Answer posted by dhxSupport on Jun 26, 2009 04:40 Please check this article http://dhtmlx.com/docs/products/kb/index.shtml?cat=search&page=1&q=9864&ssr=yes&s=onSubRowOpen |