Multi Selection of rows
Multi Selection of rows
How can I detect which rows are selected in the grid ?
Re: Multi Selection of rows
Hello,
Example:
Regards,
Marc Meumann
Example:
Code: Select all
//set with:
teeGrid1.Selected.Changed += Selected_Changed;
//example event code
private void Selected_Changed(object sender, EventArgs e)
{
var selection = sender as GridSelection;
if (selection.Column == teeGrid1.Columns[0] && selection.Row != 5)
{
MessageBox.Show($"You've clicked a button on row {selection.Row}");
}
}
Marc Meumann
Steema Support