Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Lagnajeet Sahu on Sep 07, 2009 07:19
open dhtmlx forum
How to make the dhtmlx grid readonly. No selection should be allowed

Hi,

We used licensed version of dhtmlx controls in our application.
I must say the user experience has been very good.

I am using dhtmlx grid control in one of my pages , and i have set the setNoHeader(true).
I want the grid to be readonly , so that the user cannot select anything on the grid.
What property should I set or what function to call ? Please help I have been blocked for few days now.
Answer posted by dhxSupport on Sep 07, 2009 07:52
>>I want the grid to be readonly , so that the user cannot select anything on the grid.
There is no possibility to deny selection in grid. You can just change style of the selected row to make selection not visible. 
Please find more information here http://dhtmlx.com/dhxdocs/doku.php?id=dhtmlxgrid:custom_skin
To make grid not editable you can use mygrid.setEditable(false);