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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to remove a specified row in a given table?

Thread ID:





117376 Oct 8,2014 11:14 AM UTC Oct 16,2014 07:31 AM UTC WinForms 3
Tags: DocIO
Walter Porada
Asked On October 8, 2014 11:14 AM UTC

Hi there

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?

with best regards,

Nithya B [Syncfusion]
Replied On October 10, 2014 04:53 PM UTC

Hi Walter,


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 other questions.




Attachment: GenerateWord_Windows_67e2f7f.zip

Walter Porada
Replied On October 15, 2014 03:44 PM UTC

Hi Nithya

Works like a charm. Just what I needed. Great Work and thank you.


Nithya B [Syncfusion]
Replied On October 16, 2014 07:31 AM UTC

Hi Walter,

Thanks for your update.

Please let us know if you need further assistance.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon