Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Rakesh Choudhury on Feb 08, 2009 02:36
open dhtmlx forum
Dont allow to select particular rows - treeGrid

hi,

I am using a grid where the first column type is 'tree'. The scenario is such as: we are showing list of teams as rows. Since each team have persons in that; we are showing persons as child rows to each team.

What i want, the user should not be able to select/click any of the child rows (ie person rows under each team.)


Plz help, Advance regards from me and my Team.


Rakesh.
Answer posted by dhxSupport on Feb 09, 2009 08:33

To change style of selected row you have to determinte following class:

div.gridbox table.obj tr.rowselected td - element in a selected row

div.gridbox table.obj tr.rowselected td.cellselected, div.gridbox table.obj td.cellselected  -  element in a selected cell