Tobago Demo

Menu

Sheet Column Selector

To insert a selectable column, use the <tc:columnSelector/> tag. With the selectable in the <tc:sheet/> tag, you can adjust, whether the column should show checkboxes (default) or radio button 'singleOrNone'.

Tag Library Documentation: <tc:sheet/> | <tc:columnSelector/>

Column Selector

The first column in this sheet contain radio buttons. After clicking the submit button, the number of the selected row is displayed in the output field.

<tc:sheet value="#{sheetController.solarList}" var="solarobject" selectable="singleOrNone" rows="2" state="#{sheetController.sheetState}"> <tc:columnSelector/> <tc:column label="Name"> <tc:out value="#{solarobject.name}"/> </tc:column> ...
NameOrbitPeriod (Days)DiscovererYear
-0.0-
Sun87.97-
Sun224.7-
Sun365.26-
Sun686.98-
Rows 1 to 5 of 88
  • Page 1 of 18
[]
© 2005-2024 Apache Software Foundation, Licensed under the Apache License, Version 2.0.