SortAgent

From Documentation
Revision as of 04:01, 15 May 2012 by Hawk (talk | contribs) (Created page with "{{ZATSEssentialsPageHeader}} This agent can work on <b>''column'', ''listheader''</b>, and <b>''treecol''</b> and mimic to sort a header with specified sorting order. [[File:Za...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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);




Last Update : 2012/05/15

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