Drop value from TreeViewAdv to SFDataGrid GridTextColumn

Hello,
I am creating a mapping function in my application where the user will be mapping values from a Treeviewadv to values in an SFDataGrid. I need to allow the user to Drag an item from the treeview and drop it in a Cell in the SFdatagrid. The cell is GridTextColumn type.
Is this possible? If so, I greatly appreciate your guidance on how to accomplish it.
Thanks,
Byron

2 Replies

BB Byron Bennett June 28, 2017 02:47 AM UTC

Hi ,

I figured it out.  I switched to the SFTreeGrid. I'm using a HitTest to get a HitTestResult, converting to a TreeGridCell and pulling in the ColumnBase to get the column and pulling in the ColumnBase.RowIndex to get the row index. Then I run it back through the DataContext of the TreeGrid and set the value on my bound dataset.

Cheers!

Byron



MK Muthukumar Kalyanasundaram Syncfusion Team June 28, 2017 01:04 PM UTC

Hi Byron, 
 
Thanks for the update. Please let us know if you need any other assistance. 
 
Regards, 
Muthukumar K 


Loader.
Up arrow icon