TableStart and TableStart

I am using ‘TableStart’ and ‘TableEnd’ bookmarks in my word document.
I have mapped a java object containing 4 fields to the table which is mapped to 4 columns in the table.

The field is mapped correct to each column.
In specific situations I need to hide some of the columns.
It seems not to be possible when I use’TableStart’ and ‘TableEnd’ mapped to a java object.

Any suggestion what to do

@miqdk,

Thanks for your inquiry. To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input Word document.
  • Please attach the output Word file that shows the undesired behavior.
  • Please attach the expected output Word file that shows the desired behavior.
  • Please share simple Java application (source code without compilation errors) that you are using to generate the output document.

Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.