Hello,
I have a table with an AccountID column and a ParentID column. There is a data relation, Children, that relates the columns. Below is the xaml I have written to try and get it to work, but when I add the <igDP:Field Name="Children" /> field, only the second FieldLayout is displayed, and the first FieldLayout disappears. What do I need to change to get this to work? Does the hierarchical stuff only work with multiple tables?
<igDP:XamDataGrid.FieldLayouts> <igDP:FieldLayout> <igDP:FieldLayout.Fields> <igDP:Field Name="Name" /> <igDP:Field Name="Type" /> <igDP:UnboundField Name="Balance" DataType="system:Decimal"/> <igDP:Field Name="Inactive" Visibility="Collapsed" /> <igDP:Field Name="Children" /> </igDP:FieldLayout.Fields> </igDP:FieldLayout> <igDP:FieldLayout> <igDP:FieldLayout.Fields> <igDP:Field Name="Name" /> <igDP:Field Name="Description" /> </igDP:FieldLayout.Fields> </igDP:FieldLayout>
I have a similar issue... but a variation of it ...
Here is what I have:
Here is what I want: Simple, but oh well don't get me started:
Ok, show me the easiest and fastest way there....
Thanks
Thank you for NO support. As of Friday we have chosen to dump Infragistics WPF controls and have adopted a different product.
Cheers....
We have accomplished this with the system we are currently building. I have been able to use the XamDataGrid to mimic a tree view using a single, self referencing table of Parent-Child relationships to an Nth level of Parent - Child relationships.
However there is no magic and it did take lots of C# code, XAML, and SQL to accomplish. If someone is still interested I might be able to help.
Cheers.....
I attached an example of binding the xamDataGrid with DataSet and LINQ with self-relation.
I have a model that works for me. I also am willing to share. I am not using Datasets but the actual Business Objects themselves.
I guess I was irked by the guys e-mail. Build my app for me, fast and easy, and I will buy your products. There is always a way to do something and but it is not always "fast and easy". Sometime there is not a sample to copy and you actually have to think and develop a model of your own.
Imagine, a developer actaully developing instead of copying the sample.
Hi Donna,
Can you mail me the sample app, to gautham82@gmail.com