IS there any build in functionality to copy and paste hierarchical data in XamGrid.
If not, is there any workaround to it.
Hello Gajender,
To enable Copy and Paste support for the XamGrid, you can start by setting the control’s ClipboardSettings ( AllowCopy and AllowPaste properties) to true. Eg. http://help.infragistics.com/Help/Doc/Silverlight/2016.1/CLR4.0/html/xamGrid_Enable_Copy_and_Paste_Support.html
In XAML:<ig:XamGrid x:Name="xamGrid" … > <ig:XamGrid.ClipboardSettings> <ig:ClipboardSettings AllowCopy="True" AllowPaste="True"/> </ig:XamGrid.ClipboardSettings></ig:XamGrid>
In Visual Basic:xamGrid.ClipboardSettings.AllowCopy = TruexamGrid.ClipboardSettings.AllowPaste = True
In C#:xamGrid.ClipboardSettings.AllowCopy = true;xamGrid.ClipboardSettings.AllowPaste = true;
In Silverlight, you’ll receive an alert for permission when the clipboard is accessed for the first time.I’ve attached a sample where I’ve tested that hierarchical data is fully supported.
Let me know if you have any questions regarding this matter.