What settings must I apply to a cxGrid so I can have an immediate row selection when I click inside the grid ?
I want to select a desired row immediately.
Right now I must first click the grid and then select the row.
What settings must I apply to a cxGrid so I can have an immediate row selection when I click inside the grid ?
I want to select a desired row immediately.
Right now I must first click the grid and then select the row.
GridView.Control.SetFocus;
// just in case if DataSet is UniDirectional:
if GridView.DataController.FocusedRowIndex < 0 then
GridView.DataController.FocusedRowIndex := 0;