RaymondC
  • RaymondC
  • Advanced Member Topic Starter
2017-07-28T20:24:51Z
I have a grid in Row Mode with Multiselect enabled and I am trying to programmatically select multiple rows. How?

Thanks.
Igor/10Tec
2017-07-31T12:05:49Z
To select a row in row mode, it is enough to make one of its cells selected. For instance, the following statement can be used to select the 3rd row when row mode is on:

iGrid1.CellSelected(3, 1) = True

I will try to make this point more prominent in the next update of the help file. Thank you for asking this!
RaymondC
  • RaymondC
  • Advanced Member Topic Starter
2017-08-01T17:15:02Z
I was looking for something like:

iGrid1.RowSelected(1) = True

but that doesn't exist.

CellSelected will work just fine. Thank you.

Ray
RaymondC
  • RaymondC
  • Advanced Member Topic Starter
2017-08-01T17:23:02Z
It would also be great if there was a way to set the back color of an entire row without having to loop through all the columns.

iGrid1.CellBackColor is great for setting the back color of one cell but iGrid1.RowBackColor would be nice too.
Igor/10Tec
2017-08-02T12:16:33Z
What about to use the existing RowDynamicFormatting event for that?