Hi,
For multiple row selection , set MultiSelect property = true.
To get the selected rows,
foreach (DataGridViewRow row in dataGridView1.SelectedRows)
//Operation to be performed
}
Is this applicable for WinGrid?
i'm sorry ...........
Defaultly we can multi select the rows in wingrid . To get the selected rows,
e.Layout.Override.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.RowSelect;
{
// ToDo:
Thanks
HI is this enough? or do i have to apply some ultrawin grid properties as well...the above did not work for me.. Plese advice. I want to select multiple rows in a grid, which might not be continues.
If some one can explain me briefly what can be done that would be of great help.
for selection through code you can use either any of this functions
UltraGrid1.Selected.Rows.Add()UltraGrid1.Selected.Rows.AddRange()
regardsceaser