Oct 08, 2008, 8:29 AM
[CLOSED] RecordID in GridPanel
Hi
I have a gridpanel with CheckboxSelectionModel, and when i get the selected rows, I use the RecordID, but i dont know what this ID reflects. Im my case it returns 1101 for the first row and 1102 for the second. I thougt that the first row would be 1 and the second 2.
Can I control what value that will be in the RecordID property?
Mikael Jürke
I have a gridpanel with CheckboxSelectionModel, and when i get the selected rows, I use the RecordID, but i dont know what this ID reflects. Im my case it returns 1101 for the first row and 1102 for the second. I thougt that the first row would be 1 and the second 2.
Can I control what value that will be in the RecordID property?
RowSelectionModel sm = this.GridPanel1.SelectionModel.Primary as RowSelectionModel;
foreach (SelectedRow row in sm.SelectedRows)
{
result.Append(row.RecordID + ";");
}
lblError.Text = result.ToString();
Best RegardsMikael Jürke