Categories | Question details Back To List | ||
draw a cross line on the grid Hi, I'm want to draw draw a cross line on the grid to know location of cell the mouse overed, so, I create the followings code.
mygrid.attachEvent("onMouseOver",function(row_id,cell_id,e){
But, Its speed is not good. Do you have a great idea to enhance this speed or to know location of cell mouse overed? help me..T_T;;; Answer posted by dhxSupport on Mar 30, 2009 06:23 You can enable light mouse navigation and change style for the selected cell and row: mygrid.enableLightMouseNavigation(true); <style> <!-- elements in a selected row--> <!-- element in a selected cell--> div.gridbox table.obj tr.rowselected td.cellselected, div.gridbox table.obj td.cellselected { border-bottom: 2px solid green; } If you have attached skin to your grid: div.gridbox_skinName table.obj tr.rowselected td.cellselected, div.gridbox table.obj td.cellselected { div.gridbox_skinName table.obj tr.rowselected td{ More information about grid's appearance you can find here http://dhtmlx.com/docs/products/dhtmlxGrid/doc/articles/Creating_custom_skin.html#grid_cust_skin |