552186866qq.com Posted May 19, 2016 Share Posted May 19, 2016 Jasperserver support? freeze the First few columns: Link to comment Share on other sites More sharing options...
narcism Posted May 19, 2016 Share Posted May 19, 2016 That looks like a crosstab, am I right? What version of JRS are you using? Link to comment Share on other sites More sharing options...
oleksandr.voloschuk Posted May 16, 2018 Share Posted May 16, 2018 you can freeze columns in excel output file by adding next property to your .jrxml:<property name="net.sf.jasperreports.export.xls.freeze.column" value="A"/>[/code]the same for row:<property name="net.sf.jasperreports.export.xls.freeze.row" value="1"/>[/code]more information here: http://jasperreports.sourceforge.net/config.reference.html#net.sf.jasperreports.export.xls.freeze.column Properties like net.sf.jasperreports.export.xls.freeze.row/column are implemented for Excel export because Excel reads these settings ate export time, and process them internally to freeze rows or columns.There are no equivalent properties for Java/HTML output format, because Java/HTML viewers don't interpret such values similar to Excel.Freezing rows in HTML tables involves a lot of css/javascript additional code. See this link for reference: https://stackoverflow.com/questions/8423768/freeze-the-top-row-for-an-html-table-only-fixed-table-header-scrolling Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now