Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#7 Adding Sorting on Table

closed-accepted
amr eladawy
None
5
2009-04-26
2009-04-12
Anonymous
No

in DataTable, we need to add the functionality of sorting the recorded based on a column

Discussion

  • amr eladawy
    amr eladawy
    2009-04-26

    • assigned_to: nobody --> amreladawy
    • status: open --> closed-accepted
     
  • amr eladawy
    amr eladawy
    2009-04-26

    Done!

    new attribute is added on the dataColumn to indicate that this column is sortable.

    <datacolumn name="id" text="user Id" sortable="true" />

    please note that you can initially add sorting direction.

    set sortdir attribute to asc or desc