Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Nicky F on Nov 12, 2007 15:29
open dhtmlx forum
Click Row makes selected background color permanent

Hi all,

i have a slight problem with my grid. Once the data is populated, i can select a row which is highlighted immediately as soon as i remove focus from the row, the background color remains permeanent there. IS tehre a way to remove this option?


Thanks
Nick
Answer posted on Nov 13, 2007 04:28
>>as soon as i remove focus
Can you please explain, what do you mean by "removing focus", the color of selected row defined through css class, which applied to selected row and definitely removed on row unselection.
You can force row unselection by calling
    grid.clearSelection();
In case when you just selecting another row, selection from previously selected one must be removed automatically - If problem occurs in such case - please provide any kind of sample where problem can be reconstructed.