I've found a possible solution looking at thread: http://forums.unigui.com/index.php?/topic/6884-unidbgrid-rowselect/?hl=selectionchange&do=findComment&comment=35012   In addition to use "cellModel.deselect" and "cellModel.selectionchange", I used grid OnAfterLoad event to initialize the grid afetr being loaded:   procedure TFrameDlgEvent20011.GRDCatAfterLoad(Sender: TUniDBGrid); begin   UniSession.AddJS(GRDCat.JSName+'.view.getNode('+IntToStr(GRDCat.CurrGridRow)+').className = ''x-