Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Scott on Jul 02, 2007 20:25
open dhtmlx forum
Removing Row Selection highlighting

Hi,
I want to remove the rowselected background-color from my tree-grid. I just want to have the cell be selected, and the row background-color should not change.  My cells in any given row can have different colors, so I can't just override the rowselected css class to be the same as my grid background color.

Any way to just make the treegrid not set the rowselected class without having to edit the source?

Thanks,
Scott
Answer posted on Jul 04, 2007 14:16
Current version will always set css class for selected row, but instead of removing css class you can just add you custom style to block selected row color

<style>
div.gridbox table.obj tr.rowselected td{
    background-color:transparent;
</style>

or you can remove the same css rule from dhtmlxGrid.css
Answer posted by Embre (Support) on Dec 08, 2014 20:52

Not much can be said in addition to the reply above, but you also can check ajax download and json.load and find out what we have probably missed in our explanation.