Menu

Sorting by non-displayed column

Help
pflannery
2006-03-30
2012-10-09
  • pflannery

    pflannery - 2006-03-30

    Say my table has columns 1-4, but I only display content for 1,3, and 4. Does anyone know (if there is) a way to sort the content in column 3 by the data in column 2?

    Thank you,
    Patrick

     
    • Rick Herrick

      Rick Herrick - 2006-03-30

      Yes, use the sortProperty attribute:

      <display:column property="prop1" sortProperty="prop2"/>

       

Log in to post a comment.

MongoDB Logo MongoDB