SortAgent"

From Documentation
 
(One intermediate revision by the same user not shown)
Line 38: Line 38:
  
  
 +
{{ZATSEssentialsPageHeader}}
 
{{ZATSEssentialsPageFooter}}
 
{{ZATSEssentialsPageFooter}}

Latest revision as of 08:18, 21 June 2012




Sorting

This agent can work on column, listheader, and treecol and mimic to sort a header with specified sorting order.

Zats-mimic-group.png


 

			ComponentAgent sortingColumn = desktop.query("column[label='Author']");
			//ascending
			sortingColumn.as(SortAgent.class).sort(true);
			//descending
			sortingColumn.as(SortAgent.class).sort(false);


Supported Components

Components
Version
Note
Column, Listheader, Treecol 5, 6





Last Update : 2012/06/21

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