Hi
I have the following code. I am only getting the latest selected row (always 1) not all the selected rows. I did not turn off multiple selection. By the way I am using evaluation verison. Please let me know what do I have to do to get all the selected rows.
adminForm.KGrid.SelectionGranularity = SelectionGranularity.Row;
foreach (GridRow row in adminForm.KioskGrid.SelectedElements)
{
var kRow = row.NestedRows;
foreach (GridRow cell in kRow)
{
statusList.Add(new Key
{
KeyId = cell.Cells[0].Text,
Status = Convert.ToString(cell.Cells[1].GetValue())
});
}
}
Thanks
dealsBoy