Hello,
I need to create a grd with a master-detail expandable row, so that when the row is selected it would dicplay child records of this row. The solution provided in the samples using
ExpandableFieldRecordExpansionMode does not fit in the arhcitecture of the existing solution and also it is not quite clear from the sample how I can customize the fields in the master/detail rows.
Can anyone suggest alternative solution suitable for MVVM design pattern?
Thanks.
Hi Ilya,
Thank you for your post. I have been looking into your requirement and could you please tell me whether you want to create hierarchical XamDataGrid and what exactly does not fit in your current scenario? I am not sure which sample exactly you are referring to.
Looking forward to hearing from you.
Hi Yanko,
I am referring to ExpandableFieldRecord Display Modes examle in Samples Browser (by Infragistics).
I need a data grid with rows, that would expand with another data grid, containing details of the current record. The mentioned example has a similar functionality, but the implementation in the samples browser does not provide enough details.
Hello Ilya,
After looking into this and doing some research, your requirement has been determined to be a new product idea. You can suggest new product ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
There are many benefits to submitting a product idea:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
Steps to create your idea:
1. Log into the Infragistics Product Idea site at http://ideas.infragistics.com (creating a new login if needed).
2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
3. Add your product idea and be sure to be specific and provide as much detail as possible.
Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
Include a link to this thread in your idea so product management will be able to look back at this case.
The Product Idea site puts you in the driver’s seat and allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.
what is so new about it?
-the master detail view?
-the detatil view with a customizeable set of fields?
Please advise.
I think Yanko misunderstood what you were asking for. The XamDataGrid supports hierarchical data which is what a master-detail setup is. Each record in the master table contains it's own set of detail records. If you bind the XamDataGrid to this hierarchical table and you leave AutoGenerateFields enabled the grid will automatically know how to handle the data. If you expand a master record it will automatically show you the detail records underneath it. The ExpandableFieldRecord sample in the samples browser is just binding to a hierarchical DataTable and letting the XamDataGrid auto-generate the fields.