alloy:dataTable

DataTable is a UIData (iterator) component that renders a table element with tabular data and is designed to be used in conjunction with alloy:column child component tags. Since it extends HtmlDataTable, it supports all the features of h:dataTable.

Lazy Usage

The table rows contained in the DataModel can be fetched in a lazy (on-demand) manner by having the value attribute bound via EL to an instance of OnDemandDataModel. The rows are fetched on the server-side whenever the user clicks on a pagination control, selects a sort column, or enters a filter.
Customers
  • Results 1-10 of 162 (Page 1 of 17)
First Name Last Name Date of Birth Country
John Adams Nov 30, 1735 United States
Samuel Adams Oct 27, 1722 United States
Josiah Bartlett Dec 21, 1729 United States
Carter Braxton Oct 16, 1736 United States
Charles Carroll Oct 19, 1737 United States
Benjamin Franklin Feb 17, 1706 United States
Elbridge Gerry Mar 03, 1701 United States
John Hancock Feb 23, 1737 United States
Thomas Jefferson May 13, 1743 United States
Francis Lewis Apr 21, 1713 United States

Source Code

Liferay Faces Alloy 4.1.1 + Liferay Faces Bridge Implementation 5.0.0 + Showcase Common 4.0.0 + Liferay Faces Util 3.4.1 + Mojarra 2.2.20