0 Replies Latest reply on Mar 26, 2007 8:30 PM by Alex Narinsky

    How to presort a table by a specific column?

    Alex Narinsky Newbie

      I use seam-gen to generate a table view corresponding to a database table. Column sorting works fine using f:param name="order"
      (f:param name="order" value="#{projectsList.order=='name asc' ? 'name desc' : 'name asc'}"/>. )

      However, sorting of this table happens only by clicking on column headers. Is it possible to specify a column for initial sorting? Moreover, is it possible to specify a primary and secondary order?