TinyButStrong - the PHP Template Engine
Categories > OpenTBS with DOCX >

Hide a column in a table

The forum is closed. Please use Stack Overflow for submitting new questions. Use tags: tinybutstrong , opentbs

By: fuscage
Date: 2017-03-27
Time: 16:50

Hide a column in a table

Hello,

I export some invoices and I have a column "Percent discount".
I would like to display this column if the sum of the [b2.percent_discount] > 0. If it's not possible I would like to display this column if [b2.is_display_percent_discount] = 1.

How to do this feature? There are something to definie in the header to display/hide this column "Percent discount" of the table?

Thanks :-)
By: Skrol29
Date: 2017-03-27
Time: 23:05

Re: Hide a column in a table

Hello,

You can use parameter "ope=decol" in order to delete a column in a Ms Word table.
See http://www.tinybutstrong.com/opentbs.php?doc#col