Trying to display related data when user navigates thru row by mouse or keyboard arrow key.
Tried using "SelectedRowsCollectionChanged" event, but it never gets excuted when user navigates thru rows.
Can some one please help.
Thanks in advance.
Hi,
Try out the ActiveCellChanged event.
While Selection isn't directly mapped to keyboard navigtion, Cell Activation is.
Hope this helps,
-SteveZ
Thanks for quick answer. I was using that as a workaround. but wanted to know that why this event is not available, as it is very common to use by most of the application. Also "ActiveCellChanged" is fired on each column of the row, which is not that coder friendly.
Thanks
Actually, you can also set the CellClickAction of the SelectionSettings to "SelectRow", Which will keep the row selection in sync with the the active cell. Assuming that you're only supporting single row selection, then you should get the behavior that you want.
<ig:XamWebGrid.SelectionSettings>
<ig:SelectionSettings CellClickAction="SelectRow" RowSelection="Single"></ig:SelectionSettings>
</ig:XamWebGrid.SelectionSettings>
Thanks lot. I am using single row selection, so this is perfect solution for me.