I have xamGrid with Parent Rows and child rows. Currently I can select any combination of child rows or any combination of Parent Rows. What I what to do is select some parent level rows and some child rows that are under other parent rows. The control is not letting the click select a child row if other parent rows are selected. Ie Control + CLick will not select ( highlight) a child row when any other parent row is selected.
Hello Howard,
After some research Multiple level selection has been determine as a new Product Idea. I have sent your Product Idea directly to our product management team. Our product team chooses new Product Ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested ideas, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your idea is chosen for development, you will be notified at that time. Your reference number for this Product Idea is PI12090141
If you would like to follow up on your Product Idea at a later point, you may contact Developer Support management via email. Please include the reference number of your Product Idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com
Do have any ideas for a workaround? Currently we have this functionality in a infragistics grid on WinForms and we are migrating to WPF. This could be a hindrance. Thanks in Advance.
This functionality cannot be achieved with the current Row selection in the XamGrid and if you want to achieve your goal you have to disable the whole selection of the XamGrid and create your own collection for SelectedItems. By doing this all functions connected with the Selected Row won’t work and should be took in mind
Hope this helps you.
I am holding the selected rows in a seperate collection. When I try to add a child back to the grid ( for the section to be on ) it throws an exception
foreach (var record in SelectedRecords)
{try { grdDataGrid.SelectedItems.Records.Add(record); } catch (Exception inf1Exception) { System.Diagnostics.Debug.WriteLine("inf1Expection: " + inf1Exception);}
Records must be from the same fieldLayout.\r\nParameter name: records
The child row does look different on the screen is this issue?
I see the DataPresenter.Record.FieldLayout for parent == <<image>>
is different from the child
For child == <<image>>
how does infragistics controls this?
As I said in my previous post, if you want to achive the multiple selection yo uhave to disable the build in selection and create your own one as i described, because otherwise the XamDatagRid will countinue to tell you that it is not allowed to select Records from different levels.
Hi Stefan,
Was this product idea that was created in 2012 implemented ? I would appreciate a reply on this.
Also, the way I have implemented parent-child relationship in my DataGrid is thru a single FieldLayout. So I would expect to be able to Select a parent level record and child level record.
Thanks!
-Raj
Hi Andrew,
Can you suggest workaround from within the framework of the Xamdatagrid for me to be able to achieve this ?
Or is the only way to implement my own custom selection of the DataRecords.
Hello Raj,
We currently have not implemented the parent-child selection in the XamDataGrid across FieldLayouts or simply across different hierarchical bands. This is due to many of the operations in the XamDataGrid that are not configured for multiple band selection - primarily record deletion, but there are others such as copy and paste.
It may be possible in a future version that we add a switch to allow you to "opt in" to this type of selection, though, and if you would like to see this implemented, I would recommend e-mailing our product management teams about it at ideas@infragistics.com. This will place you in direct communication with our product management teams who plan and prioritize upcoming features and development based on community and user feedback.
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate Developer