We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 27, 2017 09:47 PM

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 08:04 AM

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


Loader.
Live Chat Icon For mobile
Up arrow icon