Hi,
I want to retrieve all the checked Nodes, but not able to find any propertyby by which I can do that.
I am including the code, Here If I select any EventSummary then I need all the selected 'NodeLayout collections'. I am using MVVM pattern here
Please help me.
<ig:XamDataTree x:Name="MyTree" ItemsSource="{Binding BKOFSummary}" NodeLineVisibility="Visible" Grid.Row="3"> <ig:XamDataTree.GlobalNodeLayouts> <ig:NodeLayout Key="ProductTypeLayout" TargetTypeName="Summary" ItemTemplate="{StaticResource myItemTemplate}"> <ig:NodeLayout.CheckBoxSettings> <ig:CheckBoxSettingsOverride CheckBoxVisibility="Visible"/> </ig:NodeLayout.CheckBoxSettings> </ig:NodeLayout> <ig:NodeLayout Key="EventTypeLayout" TargetTypeName="EventSummary" ItemTemplate="{StaticResource myItemTemplate}"> <ig:NodeLayout.CheckBoxSettings> <ig:CheckBoxSettingsOverride CheckBoxVisibility="Visible"/> </ig:NodeLayout.CheckBoxSettings> </ig:NodeLayout> </ig:XamDataTree.GlobalNodeLayouts> </ig:XamDataTree>
Hello ,
I am just checking if you require any further assistance on the matter.
Hello,
I have been looking into your post and I am not sure whether you would like to access your data items or just the nodes of the XamDataTree. I can suggest you look through the following forum thread where Krasimir has suggest an approach on how to get the selected item :
http://ko.infragistics.com/community/forums/t/58081.aspx
If you need any further assistance on this matter, feel free to ask.
Hi Nikolov,
Thanks for yor reply but I am looking for the solution using MVVM pattern.
So can you please post another sample which use MVVM pattern.
Sorry for the late reply. I have been looking into your question and I have created a sample application(DataTreeCheckedNodes.zip) where I have accessed all the checked nodes in XamDataTree.