hi all,
my grid have only single band and i set the property selectTypRow = single..
so please suggest for How to set my active row as selected row (with highlited).
UltraGrid1:SELECTED:Rows:Clear().UltraGrid1:ActiveRow = hRow. /* here hRow is a previos save active row.*/
Thanks in advance...
You can handle the AfterRowActivate event and set the row's Selected property to true.
But why do that? Why deal with both active and selected and go to the trouble of keeping them constantly in synch. If you only need to deal with a single row, why not simply always use the ActiveRow and use the ActiveRowAppearance to highlight it and turn off selection?
I'm having the same issue... How do I turn off selection?
The idea of having active row and select row sync was just to avoid to have 2 rows highlighted when you have a single row selection type.
Thanks,
Monica