SelectedRowsEventArgs e doesnt contain any information about the selected row. Any idea what could be done to retrieve the information about the selected row? I tried grid1.Displaylayout.SelectedRows, and I am not able to get the selected row from there too. Is there a bug?
I want to avoid rowselectors.
Thanks,
Well. I'll try OnActiveRowChange event, but does OnSelectedRowsChange event work?
I commented further about the difference between active rows and selected rows in the following post:
http://forums.infragistics.com/forums/p/12416/46962.aspx
Essentially, the "active row" is the one that has input focus. A "selected row" may or may not have input focus, and there might be more than one selected row at a time.
I guess I am a bit confused about the difference between Active Row and Selected Row. Because the onactiverowchanged event triggers only when I select a row. (so does onselectedrowchange triggers). Can you please elaborate the difference and when to use what (or guide me to documentation where I can get the difference).
Activating a row (meaning that it gets input focus) doesn't necessarily imply selecting it. Since the ActiveRowChange event works, this suggests to me that your row was being activated and not selected.
I tried onactiverowchange event and that worked fine. I feel there is some problem with OnSelectedRowsChange event