Tobago Demo

Menu

Sheet Multi Header

For more complex headers, which can span over columns and/or rows use a <f:facet name="header">in the sheet. The facet could be filled with <tc:out/> tags to set the names of the header. Such an output field tag may also contain <tc:gridLayoutConstraint columnSpan="..."/> or <tc:gridLayoutConstraint rowSpan="..."/> to set a span over columns or rows.

Tag Library Documentation: <tc:sheet/> | <tc:column/> | <tc:gridLayoutConstraint/>

Multi-Header

For multi-header sheets, you should consider to use markup="bordered" for better appearance.

<tc:sheet value="#{sheetController.solarList}" var="luminary" rows="11" columns="3fr 2fr 30px 2fr 2fr 2fr 2fr 2fr 2fr" markup="bordered"> <f:facet name="header"> <tc:out value="Name"> <tc:span row="3"/> </tc:out> <tc:out value="Information"> <tc:gridLayoutConstraint columnSpan="2"/> ...
Name  Information  Data  Discovery  
Orbit  Orb  Name  Year  
of  #  Distance [1000 km]  Period [days]  Inclination [°]  Eccentricity  
Sun--00.00.00.0-
MercurySunI5791087.977.00.21-
VenusSunII108200224.73.390.01-
EarthSunIII149600365.260.00.02-
MarsSunIV227940686.981.850.09-
JupiterSunV7783304332.711.310.05-
SaturnSunVI142940010759.52.490.06-
UranusSunVII287099030685.00.770.05Herschel1781
NeptuneSunVIII450430060190.01.770.01Adams1846
PlutoSunIX591352090800.017.150.25Tombaugh1930
MoonEarthI38427.325.140.05-
Rows 1 to 11 of 88
  • Page 1 of 8
© 2005-2024 Apache Software Foundation, Licensed under the Apache License, Version 2.0.