Hi All,
Do we have alternate of Winforms Ultragrid in WPF which allows to put XamDataGrid in TreeViewNodes.
Currenlty I am working by modifying TreeNode template of TreeView and put XamDataGrid in it, but this is very slow as compaired to winforms UltraGrid.
For my application we have almost more then 15-20 different Grids to show in TreeView.
I didn't found any such control in 10.3 license version of infragistics. and I am not sure of your later releases.
Please let me know if we have any better solution with us.
Thanks,
Hello Anant,
When using WPF the UltraGrid can be added from WindowsFormsHost. E.g.:
xmlns:wf="clr-namespace:Infragistics.Win.UltraWinGrid;assembly=Infragistics2.Win.UltraWinGrid.v11.2" <WindowsFormsHost> <wf:UltraGrid x:Name="ultraGrid1" /></WindowsFormsHost>
<WindowsFormsHost> <wf:UltraGrid x:Name="ultraGrid1" /></WindowsFormsHost>
Let me know if I can provide any further assistance.
I know this....
But I want similiar way of doing in XamDataGrid or XamDataTree.
Do we have any?
Hi,
I found the solution for above, but now could you please let me know I can I show dotted line to show Parent Child relationship in XamDaatGrid.? like we show dotted lines in DataTree.
Thanks.
In the xamDataGrid use and style the ExpandableFieldRecordPresenter. This can be done by setting ExpandableFieldRecordHeaderDisplayMode to AlwaysDisplayHeader and UseNestedPanels to true.
Sorry Duane,
I think my question is unclear, What I want is to show is, the Paraent Chaild relation in XamDataGrid by dotteed line or simple lines, like its shown in treeview by default.
Parent
.
......Child
In each parent and child record contains a RecordSelector and can be re-templated. The default style can be found in DataPresenterGeneric_Express.xaml, e.g.: C:\Program Files (x86)\Infragistics\NetAdvantage 2011.2\WPF\DefaultStyles\DataPresenter\DataPresenterGeneric_Express.xaml.
Duane,
I wrote in my first post, I m using XamDataTree to show XamDataGrid in Nodes is very slow..
I know its possibly can be done in XamDataTree, but my question is , "how can I show the lines for showing realtionship XAMDATAGRID."? Any way thorugh Template editing or styling. etc...
Thanks
To show lines indicating the parent and child relationship can be done in the xamDataTree by setting the NodeLineVisibility property to Visible.