Udo Schnurpfeil created TOBAGO-2156:
---------------------------------------
Summary: Sheet: Commands in Header may help to Select, Filter, ...
Key: TOBAGO-2156
URL: https://issues.apache.org/jira/browse/TOBAGO-2156
Project: MyFaces Tobago
Issue Type: New Feature
Reporter: Udo Schnurpfeil
Assignee: Udo Schnurpfeil
Example to call a filter in the backend on the data list:
{code}
<tc:column label="Name">
<f:facet name="bar">
<tc:button label="Filter" omit="true">
<tc:link label="All" action="#{sheetBarController.planetsOnly}">
<f:ajax render="sheet"/>
</tc:link>
{code}
Example to call a select-all in the backend on the data list:
{code}
<tc:columnSelector>
<f:facet name="bar">
<tc:button omit="true">
<tc:link label="Select all on server"
action="#{sheetBarController.selectAllOnServer}">
<f:ajax render="sheet"/>
</tc:link>
{code}
The 2nd example is needed, because (when paging is activated) the given
"select-all" checkbox in the table header only selects all visibled (on this
paging page) rows.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)