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}}
  
<tt> GroupAgent </tt> is only supported on a ''column'' of ''gird''. It mimics the action to "group by a column's data".
+
 
 +
__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="Author']");
+
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".


Zats-mimic-group.png


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

Components
Version
Note
Column 5, 6




Last Update : 2022/01/18

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.