Subject | Invert Grid selection |
---|---|
Author | Florian Hector |
Post date | 2002-11-04T20:52:38Z |
Hi all,
I am trying to invert a grid selection, e.g. 2 rows are selected, when I
send my command all rows but the two are selected.
So far I found out that the selection itself is done with the dataset rather
than with the grid, but whatever I tried with selected[] didn't do what I
want.
Since the Grid only shows a small portion of the data in the dataset, I
think I should better loop through the grid and if so, how?
Finally, how do I select a row with code, ...selected[] := true does not
seem to work.
Florian
I am trying to invert a grid selection, e.g. 2 rows are selected, when I
send my command all rows but the two are selected.
So far I found out that the selection itself is done with the dataset rather
than with the grid, but whatever I tried with selected[] didn't do what I
want.
Since the Grid only shows a small portion of the data in the dataset, I
think I should better loop through the grid and if so, how?
Finally, how do I select a row with code, ...selected[] := true does not
seem to work.
Florian