GroupAgent"
From Documentation
(Created page with "{{ZATSEssentialsPageHeader}} <tt> GroupAgent </tt> is only supported on a ''column'' of ''gird''. It mimics the action to "group by a column's data". [[File:Zats-mimic-group.p...") |
m (correct highlight (via JWB)) |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ZATSEssentialsPageHeader}} | {{ZATSEssentialsPageHeader}} | ||
− | < | + | |
+ | __TOC__ | ||
+ | |||
+ | = Group = | ||
+ | |||
+ | <code> GroupAgent </code> is only supported on a ''column'' of ''grid''. It mimics the action to "group by a column's data". | ||
Line 13: | 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= | ||
+ | |||
+ | {| border="1" | width="100%" | ||
+ | ! <center>Components</center> | ||
+ | ! <center>Version</center> | ||
+ | ! <center>Note</center> | ||
+ | |- | ||
+ | | Column | ||
+ | | 5, 6 | ||
+ | | | ||
+ | |} | ||
+ | {{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 |