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 - - 0 0.0 0.0 0.0 -
Mercury Sun I 57910 87.97 7.0 0.21 -
Venus Sun II 108200 224.7 3.39 0.01 -
Earth Sun III 149600 365.26 0.0 0.02 -
Mars Sun IV 227940 686.98 1.85 0.09 -
Jupiter Sun V 778330 4332.71 1.31 0.05 -
Saturn Sun VI 1429400 10759.5 2.49 0.06 -
Uranus Sun VII 2870990 30685.0 0.77 0.05 Herschel 1781
Neptune Sun VIII 4504300 60190.0 1.77 0.01 Adams 1846
Pluto Sun IX 5913520 90800.0 17.15 0.25 Tombaugh 1930
Moon Earth I 384 27.32 5.14 0.05 -
  • Rows 1 to 11 of 88
  • Page 1 of 8
© 2005-2023 Apache Software Foundation, Licensed under the Apache License, Version 2.0.