Hi,
I have 2 uncertainties I hope someone could help me with
1) How do I highlight a row when I click on any cell of that particular row? Currently, it shows a cursor in that cell without highlighting the row. I have set the cells to read only.
2) How do I programmatically highlight a row by index?
1.
grid.DisplayLayout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect
2.
If you want to activate the row (put the input focus, only one row)
grid.Rows[index].Activate()
If you want to select the row (you can select more than one)
grid.Rows[index].Selected = true
or
grid.Selected.Rows.Add(row)
grid.Selected.Rows.AddRange(rows) (best if you want to select many rows together)
Thank you, much appreciated.