Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by Yan on Apr 18, 2008 12:34
open dhtmlx forum
Click Row makes selected background color permanent

Click Row makes selected background color permanent. When I call grid.clearSelection() on a split grid ( ex: splitAt(8) )
the function only clear the bgcolor on the right side of split grid (column > 8) but on the left side. Is there a way to clear
both sideds?

Thx
Answer posted by Support on Apr 21, 2008 02:18
Problem confirmed and fixed for initial build of dhtmlxgrid 1.5

You can contact us directly at support@dhtmlx.com to receive updated version of js file, or you can just add next command
    grid.clearSelection();
    grid._fake.clearSelection();   //to clear selection in left part of splitted grid
Answer posted by Support on Apr 21, 2008 02:19
Also you can try to use
    grid.clearSelection(true);