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

By default cursor doesn’t changes to hand on the Grid header. Please check example here dhtmlx.com/docs/products/dhtmlxG … _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”]);


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