How to avoid of missing cell's border when a record is separated between 2 pages?

后端 未结 2 1397
你的背包
你的背包 2020-12-09 07:06

When the last entry in a page is too long, It will show in next page, when it show all the table line is missing.

This is the result:

2条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-09 07:24

    You can put the staticText element without text behind the textField element. You should set stretchType property with RelativeToTallestObject value and isPrintWhenDetailOverflows property with true value.

    The sample:

    
        
            
                
                
                    
                    
                    
                
                
                
            
            
                
                
                    
                    
                    
                
                
                
            
    

    As result you will get the vertical border at the second page.

    The text from resulting PDF file with vertical border after using the staticText

    The result before adding the second staticText was (the vertical border at the second page is absent):

    The text from resulting PDF file without vertical border before using the staticText

提交回复
热议问题