Hi,
There´s a way to set the selected row (or rows) same active rows with a UltraWinGrid control?
I´m not interesting to make a groups of rows seleted at the same time to the active row.
Thanks....
You can prevent concurrent selection of more than one row by setting the UltraGrid.DisplayLayout.Override.SelectTypeRow property to 'Single'.
To ensure that the ActiveRow is synchronized with the selected row, you can handle the AfterSelectChange event for the case where the Type property of the event arguments is typeof(UltraGridRow), and set the ActiveRow to the row returned from UltraGrid.Selected.Rows[0]. Since a row can be deselected in code, you should check the count returned from UltraGrid.Selected.Rows before proceeding, and if the count is zero set ActiveRow = null.