Powered by the YUI Datatable widget, Datatable component provides several features like client side paging, sorting, resizeable columns, scrolling and etc.
| component-family | net.sf.yui4jsf |
| renderer-type | net.sf.yui4jsf.component.DatatableRenderer |
| component-class | net.sf.yui4jsf.component.datatable.Datatable |
| renderer-class | net.sf.yui4jsf.component.datatable.DatatableRenderer |
| tag-class | net.sf.yui4jsf.component.datatable.DatatableTag |
<yui:datatable var="car"
value="EL Reference to a backing bean collection"
rows="10"
first="20"
paginator="{true|false}"
tableClass="CSS class"
headerClass="CSS class"
rowClasses="CSS class"
scrollable="{true|false}">
</yui:datatable>
<yui:datatable>
Standard UIData Attributes - id, rendered, binding, var, value, first, rows
tableClass - CSS class to be applied to the root table element
headerClass - CSS class to be applied in thead element of datatable
rowClasses - CSS classes for odd and even numbered tr elements
paginator - Boolean flag to show the paginator of the built-in pager, default value is false
scrollable - When specified as true, header is fixed and rows become scrollable
height - Width of the datatable
height - Height of the datatable