Hi Hrcko,
You can get the selected rows by using GetSelectedRow method in grid.Model.Selections. Below is the code snippet.
private void button1_Click(object sender, System.EventArgs e)
{
if(this.gridDataBoundGrid1.Selections.Ranges.Info != "")
if(this.gridDataBoundGrid1.Selections.GetSelectedRows(true,true).Count > 0)
MessageBox.Show(this.gridDataBoundGrid1.Selections.GetSelectedRows(true,true).ToString(),"Click");
}
Relevant KB articles:
How to get the selected ranges in a grid? How do I access the cell values for all the selected rows? Let us know if this helps.
Best regards,
Madhan.