How do i programatically insert a table at the cursor position.

I need to allow the user to drag an item onto the document and insert a table at the drop location

1 Reply

VM Venkatesan Mani Syncfusion Team May 28, 2018 07:01 AM UTC

Hi Steven,

Thank you for using Syncfusion products.

From
v15.4.0.17, our SfRichTextBoxAdv control supports drag and drop functionality. You can enable the built-in drag and drop functionality by setting SfRichTextBoxAdv.AllowDrop property to true.  Please try this and let us know whether this functionality meets your requirement.

Could you please clarify on the following? It will be helpful us to provide you the appropriate solution for your requirement at the earliest.
1. Are you using built-in drag and drop or custom drag and drop?
2. If you are using custom drop, could you please share us the sample for this custom drop implementation with steps to run the sample application? So that we can modify your code to insert the table at cursor position by tracing the selection text position and provide the proper solution at the earliest.

Please let us know if you have any other questions.

Regards,
Venkatesan M.
 


Loader.
Up arrow icon