I am simply trying to capture a selected row with the following:
Dim SelectedRows
' Iterate through a collection of selected rows
For i = 0 To
grdGMDList.Selected.Rows.Count - 1
Dim test As String = "yes"
SelectedRows = grdGMDList.Selected.Rows(i)
Next
However, the Selected.Rows.Count is ALWAYS 0. Much of your documentation refers to Row Selectors.
Are there supposed to be Row Selectors on my grid? Because there aren't any. I've searched everywhere. I can't find how to display these Row Selectors. Is this why the Selected.Rows.Count is always 0?
Ok, I FINALLY figured it out (and did so by creating a new test project, and walking through the "wizard" - what a great way to see what properties do what!! :-))
e.Layout.Override.RowSelectors = DefaultableBoolean.True
Hi Terri,
It's good to hear that you were able to solve this. Do you have any further questions related to selected rows in the grid? Please let me know whether you consider this issue solved.