I have two xamdatagrids on my window. One on the left side and another on the right side. I want to bind them both to the same collection. The xamdatagrid on the left side shows check boxes for each row along with data. I want to show only the checked rows on the left side xamdatagrid in the right side xamdatagrid. How can I achieve this if I want to bind both the xamdatagrid's to the same collection.
Thank you,
L
Hello Lala,
Thank you for your reply. I am very glad that the approach I have suggested was helpful for you. Please let me know if you need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Applied the idea and it worked. Thank you.
Thank you for your replies. I have been looking into the steps that you have provided and I have managed to reproduce the behavior. The behavior is actually appearing when you activate a record from the right XamDataGrid and uncheck the same record in the left, while in the right grid, the record is still active. In this scenario the filter will be applied to the active record and the record will disappear after you activate different record in the right grid. In order to avoid this behavior, you can handle the EditModeEnding event of the left XamDataGrid and in the event hander to check, whether the two grids have the same active item and if so, to set the ActiveRecord of the second grid to null. I have modified the sample application that I have previously attached, in order to show how you can implement this approach.
Please let me know if you need any further assistance on the matter.
Correction to line 4 again.
Edit a value (say Name or ID) for that record in the right grid (not left grid)
Correction on line 4
Edit a value (say Name or ID) for that record in the left grid