With Ms ListView I can do like this
But I can't figure out how to do this with RadGridView.
int _selIndex = dataGrid.SelectedIndex; |
MyCollection _data1 = (MyCollection)dataGrid.Items[_selIndex - 1]; |
MyCollection _data2 = (MyCollection)dataGrid.Items[_selIndex]; |
MyCollection _data3 = (MyCollection)dataGrid.Items[_selIndex + 1]; |
But I can't figure out how to do this with RadGridView.