GroupAgent"
From Documentation
m (correct highlight (via JWB)) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
= Group = | = Group = | ||
− | < | + | <code> GroupAgent </code> is only supported on a ''column'' of ''grid''. It mimics the action to "group by a column's data". |
Line 18: | Line 18: | ||
<source lang="java"> | <source lang="java"> | ||
− | ComponentAgent groupingColumn = desktop.query("column[label= | + | ComponentAgent groupingColumn = desktop.query("column[label='Author']"); |
groupingColumn.as(GroupAgent.class).group(); | groupingColumn.as(GroupAgent.class).group(); | ||
</source> | </source> | ||
− | |||
=Supported Components= | =Supported Components= | ||
Line 36: | Line 35: | ||
|} | |} | ||
+ | |||
+ | {{ZATSEssentialsPageHeader}} | ||
{{ZATSEssentialsPageFooter}} | {{ZATSEssentialsPageFooter}} |
Latest revision as of 02:55, 18 January 2022
Group
GroupAgent
is only supported on a column of grid. It mimics the action to "group by a column's data".
The following code presents how to make a column to group its data.
ComponentAgent groupingColumn = desktop.query("column[label='Author']");
groupingColumn.as(GroupAgent.class).group();
Supported Components
Column | 5, 6 |