JasperReports: How to show data in two columns

前端 未结 1 1892
小蘑菇
小蘑菇 2021-01-05 07:38

This is my current jrxml file:




        
1条回答
  •  死守一世寂寞
    2021-01-05 07:57

    You should set report's property Print order (printOrder) value as Horizontal and the report's property Columns (columnCount) value as 2.

    enter image description here

    The sample

    The jrxml file:

    
    
        
            
        
        
        
        
            
                
                    
                    
                    
                
                
                    
                    
                    
                
            
        
    
    

    The report's design (in iReport):

    enter image description here

    The result will be (via preview in iReport):

    enter image description here

    0 讨论(0)
提交回复
热议问题