Categories | Question details Back To List | ||
grid image editable issues Your quick-responding team solved my issues with tab landing on img (non-editable) fields with a new dhtmlxgridcell.js back on the 30th of March. However, now that img cells are not editable, I have no way to trap click events (if user clicks on the image in a cell on the grid). dhtmlxTreeGrid_v20_pro_81009 Also....Surely 'tree' cells (treegrid extension) are not supposed to be editable? But tab order includes them and I can type away on them (this I can more easily manage with event handling, but wasn't sure if this was intended behavior) Thanks in advance!! Answer posted by dhxSupport on Apr 10, 2009 01:36 By default "tree" cell is editable. You can deny editing of this cell using method mygrid.enableTreeCellEdit(false). Answer posted by Jeff on Apr 10, 2009 05:34 Thank you... How about the ability to trap events on img cells? Answer posted by dhxSupport on Apr 10, 2009 05:45 You can trap events on the "img" cell using "onRowSelected" event. Event's handler has parameters: id of selected row, index of a selected column. Also you can set custom event on the cell using following format in the xml: some.gif^alt text^javascript:doSomething()^_self |