Hello,
Is there any way to paste Excel data to xamDataTree from clipboard?
In my case I must paste some hierarchical data like this:
So, it would be great if there is some method like in xamGrid (XamGrid.PasteFromClipboard()) that will parse Clipboard data and get it to me by some event.
May be there is some other useful approach?
Best Regards,
Vladimir
I've solve my problem by using xamGrid as represented bellow.
private void PasteFromExcel() { var grid = new XamGrid(); grid.ClipboardPasting += ClipboardPasting; grid.PasteFromClipboard(); grid.ClipboardPasting -= ClipboardPasting; } private void ClipboardPasting(object sender, ClipboardPastingEventArgs e) { // e.Values has a List<List<string>> type. // you can do what you need with it }