Adding data to each table cell afterwhile adding a table to the editor

#1. I'm using document editor in my Blazor app to edit the generated report and I want to add a table to the editor  with the generated data. 

Justification:

I have a database with different tables. Depending on the user selection, the system select data from one of those tables and store in a variable. At the end I want to loop this variable and print each data in the form of table in the word editor. Example:

#First NameMiddle NameLast Name
1JohnUsmanThomas
2ElineJosephKedir
3BlalAhmedkumar


#2. how to insert image from local disk programmatically


2 Replies

SM Suriya Murugan Syncfusion Team July 5, 2022 04:05 AM UTC

Hi Asaminew,


We will update details shortly.


Regards,

Suriya M.



SM Suriya Murugan Syncfusion Team July 6, 2022 03:41 AM UTC

Hi Asaminew,


  1. You can use insertTextAsync API to insert the text inside table, manually navigate between the cells. We are sorry to say that we don’t have public API to navigate between cells.

  2. You can use insertImageAsync API to insert the image. Convert the local disk image to base64String and pass it into insertImageAsync API.

Documentation link:

https://blazor.syncfusion.com/documentation/document-editor/image

https://blazor.syncfusion.com/documentation/document-editor/how-to/insert-text-in-current-position#insert-text-in-current-cursor-position


Regards,

Suriya M.


Loader.
Up arrow icon