How can I set Column Width dynamically in an RTF template for a PDF report?
My report has 4 columns that are always displayed, and 5 optional columns.
I am able to Hide/Show these 5 optional columns using the IF statement and @column and @cell designations.
I have 10 inches of my 14 inch-wide report to use for these 5 optional columns, and I want to take up all 10 inches. So if I have only 1 optional column selected, it is 10 inches wide. If I have 2, they are each 5 inches. All 5 selected, then each is 2 inches. Calculating the width is not my issue, that is simply 10 in / # of Columns. Setting the correct property for each Column is what I am looking for. I found code online that showed