Dear,
There seems to be an issue with the XamDataTree using an EditorTemplate for the NodeLayout and trying to enter the node's edit mode by a mouse double click .
When you try the attached code, you will notice that if IsMouseActionEditingEnabled is set to SingleClick, everything works fine (i.e you click on a node to edit). However, when the IsMouseActionEditingEnabled is set to doubleclick you never manage to edit the node....
Can you please check what is going wrong here?
Thanks.
<ig:XamDataTree x:Name="TaxonomyTree" ItemsSource="{Binding People}" NodeLineVisibility="Visible" Grid.Row="0" > <ig:XamDataTree.GlobalNodeLayouts> <ig:NodeLayout Key="VehicleNodeLayout" TargetTypeName="Vehicle"> <ig:NodeLayout.ItemTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <Label Content="NOooooooooooo"/> </StackPanel> </DataTemplate> </ig:NodeLayout.ItemTemplate> <ig:NodeLayout.EditingSettings> <ig:TreeEditingSettingsOverride AllowEditing="True" IsMouseActionEditingEnabled="DoubleClick" /> </ig:NodeLayout.EditingSettings> <ig:NodeLayout.EditorTemplate> <DataTemplate> <StackPanel Orientation="Horizontal"> <Label Content="YESssssssssss"/> </StackPanel> </DataTemplate> </ig:NodeLayout.EditorTemplate> </ig:NodeLayout> </ig:XamDataTree.GlobalNodeLayouts> </ig:XamDataTree>
Hello,
I have checked your key and it seems like that it is only for NatAdvantage for WPF DV, which explains why the WPF assemblies doesn’t update. You can download Service releases only for licensed products.
Hope this helps you.
Thanks. I installed the 2230 patch and noticed that the dlls in the "WPF Common" and "WPF DV" folders have now the 2230 version number but the assemblies inside "WPF" still have the old version number 1002.
And of course the project doesn't compile anymore ..... what has gone wrong? any ideas?
I have tried the sample with the RTM of version 11.1 (1002) and the DoubleClick doesn’t work, as you said. I also tried it with the latest service release of 11.1 (2230) and the issue has been fixed there, so I suggest you download it by logging to our web site and going to My IG \ My Keys and Downloads.
Thanks Stephan for helping me with my problem.
I'm using version 11.1 and the provide example does not work: a double click does not enter edit mode.
Unfortunately, we do not have a license for the 11.2 release.So as a workaround I tried to catch the double click event myself and activate the node by calling the XamDataTree::EnterEditMode method (see the attached project). Unfortunately this doesn't work neither.
Is there any other way to succeed in what I'm trying (in the 11.1 version)?
Thanks in advance,
Thank you for your post. I have been looking into it and I tested the code you have provided both with the RTM and the latest service release of 11.2 and the RTM of 12.1 and everything seems to work ok on my side. I also attached the sample, which I tested. If the behavior you have still occurs on it, with your service release, I can suggest you download the latest one by logging to our web site and going to My IG \My Keys and Downloads.
Looking forward for your reply.