Categories | Question details Back To List | ||
Cursor style on the header Hi, We have a grid, which has 5 columns. Some of the columns are sortable and some are not. When I put the cursor on any of the headers the cursor changes to hand. This happens to both sortable and non-sortable columns. The correct behaviour should be that the cursor should change to hand on sortable columns and the cursor should remain unchanged for non-sortable columns. Can you please let me know how to fix this issue? Sudipta Answer posted by dhxSupport on Aug 13, 2009 02:16 By default cursor doesn't changes to hand on the Grid header. Please check example here http://dhtmlx.com/docs/products/dhtmlxGrid/samples/initialization_loading/init_grid.html You can change cursor style when mouse over the necessary header with 3rd parameter of setHeader() method: mygrid.setHeader("A,B,C",null,["cursor: normal","text-align:left;","text-align:center"]); Answer posted by Janet K. on Dec 28, 2009 06:00 The same behaviour should be for me, but it didn't work. I use IE 7 and styles like text-align is working in 3rd parameter. But not the cursor style. It changes to normal if the cursor touch the line of the header. I think, the style property will be overwritten from another. I have a treegrid with custom sort and setSkin function. How to fix this? Janet |