|
Utility data grid tag that allows the page author to gain access to the
DataGridState object
outside of the body of a <netui-data:dataGrid> tag. When building UI for sorting, filtering, or paging,
this UI does not need to exist inside of the HTML table rendered by the data grid tags. In order to render
UI for sorting, filtering, and paging, it is often necessary to gain access to the state exposed to a data
grid via the
DataGridState object. For example:
<netui-data:getDataGridState gridName="employees" var="employeeGridState"/>
<c:if test="${pageScope.employeeGridState.sortModel.sorts} != null}">
... render UI when sorts are present ...
</c:if>
this will expose the "employees" data grid's list of
org.apache.beehive.netui.databinding.datagrid.api.sort.SortModel.getSorts to the JSP for access by
the JSP EL.
DataGridStateDataGridStateorg.apache.beehive.netui.databinding.datagrid.api.sort.SortModel.getSorts |