I want to use a word template with some placeholders in it. The placeholders are embedded in a table. If they are not needed, I want to delete the specified row completely. To archive this, I put a Bookmark on the Placeholder itself and a Bookmark on the tablerow which embedds the placeholder bookmark.
So the idea was if the placeholder could not get set, I navigate to the bookmark for the row and delete it alltogether. But when I try to do this I get an exception from the component: "Not supported deleting dontent between bookmarks in different paragraphs"
Is there any way to identify the specified row by the Bookmark and then remove the row from the table?
NBNithya B Syncfusion Team October 10, 2014 04:53 PM UTC
Thank you for using Syncfusion products.
If your requirement is to remove
the specified row from the table based on placeholder then you can find the
owner paragraph of the placeholder using "Find" functionality of
DocIO and then find the owner row of the paragraph and remove that row from the
table. We have prepared a sample to illustrate the same. Kindly try this
approach in your side to remove the desired row from the table. Please find the
sample from the attachment.
Please let us know if you have any