[richfaces-svn-commits] JBoss Rich Faces SVN: r14741 - branches/community/3.3.X/docs/userguide/en/src/main/docbook/included.
richfaces-svn-commits at lists.jboss.org
richfaces-svn-commits at lists.jboss.org
Mon Jun 29 10:21:38 EDT 2009
Author: ochikvina
Date: 2009-06-29 10:21:37 -0400 (Mon, 29 Jun 2009)
New Revision: 14741
Modified:
branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/column.xml
Log:
https://jira.jboss.org/jira/browse/RF-6853 - updating the 'Sorting' section;
Modified: branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/column.xml
===================================================================
--- branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/column.xml 2009-06-28 12:44:25 UTC (rev 14740)
+++ branches/community/3.3.X/docs/userguide/en/src/main/docbook/included/column.xml 2009-06-29 14:21:37 UTC (rev 14741)
@@ -215,7 +215,7 @@
can find additional information about dynamic columns.</para>
</section>
- <section>
+ <section id="sortAndFilter">
<title>Sorting and Filtering</title>
<section id="sort">
<title>Sorting</title>
@@ -394,6 +394,13 @@
<para> In the example above the first column is sorted in descending
order. But if recurring rows appear in the table the
relative second column are sorted in ascending order. </para>
+
+ <para>If the values of the columns are complex, the <emphasis>
+ <property>"sortOrder"</property>
+ </emphasis> attribute should point to a bean property containing the sort order.
+ See how it's done in the <ulink url="http://livedemo.exadel.com/richfaces-demo/richfaces/columns.jsf?c=columns&tab=usage">LiveDemo</ulink>
+ for <emphasis role="bold"><property><rich:columns></property></emphasis>.</para>
+
<para>You can customize the sorting's icon element using
"rich-sort-icon" class.</para>
<note>
More information about the richfaces-svn-commits
mailing list