cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Disappearing column on print preview

avillanueva
22-Sapphire II

Disappearing column on print preview

I've struggle with this for some time and now I want to see about fixing it. I know that PDMLink tables do not print well. You are limited to the view window and output is highly dependent on the adjustments the user can make. This is a strange one that was reported to me. Here is the screen view of this BOM table, derived from the multilevel BOM report:

avillanueva_0-1682093593268.png

Here is how that looks in print preview if I try to PDF the page:

avillanueva_1-1682093640550.png

It erased the Ref Designator column. WYSINWYG for sure. 

Anyone know what is going on here? Since this is a custom table I can edit column properties if need be. 

 

2 REPLIES 2

How are you printing it? Is this a custom table?

 

The only thing that comes to mind is that Ref Designators is a part usage attribute, not a direct part attribute. So it's a different type of column than the others. Do you have a quantity column that prints successfully?

 

Still, very strange. 

avillanueva
22-Sapphire II
(To:joe_morton)

Just normal Control-P to PDF typically. I am looking into how the column definition is done and what might be different with this column. Yes, this is a custom table extended from the Multi-level BOM report with replacements. I have a custom Tree Builder. The only major difference I noted is that I did not specify setExactWidth(true) for this column like I did others however this column can get very large with a big reference designator string.

//ref designator
                else if (colConfig.getId().equals("refDesignators"))
                {
                    colConfig.setLabel("Ref Designators"); //12-4-2019: reducing to single line header
                    colConfig.setColumnWrapped(true);
                    colConfig.setWidth(200);
                    colConfig.setDataUtilityId("wrapString");
                    colConfig.setSortable(false);
                }

 

Announcements

Top Tags