TCRDBGrid selected line display after TitleClick
Posted: Mon 28 Nov 2011 11:16
Hello,
We have Delphi XE 2 with Odac 8.0.2.
We have a TCRDBGrid in a Dialog form used to display a list.
We have 4 columns in this grid.
We can sort the columns with a click on the title.
We have properties dgRowLines, dgRowSelect set to true.
when we click in the grid, we have an entire row selected.
When we sort with a click on a column, the blue line (selection) is moved to the bottom of the list, with the row.
Is it possible to keep the first line blue when we sort the lists ?
(keep the 1st line selected after a sort ?)
Thanks
We have Delphi XE 2 with Odac 8.0.2.
We have a TCRDBGrid in a Dialog form used to display a list.
We have 4 columns in this grid.
We can sort the columns with a click on the title.
We have properties dgRowLines, dgRowSelect set to true.
when we click in the grid, we have an entire row selected.
When we sort with a click on a column, the blue line (selection) is moved to the bottom of the list, with the row.
Is it possible to keep the first line blue when we sort the lists ?
(keep the 1st line selected after a sort ?)
Thanks