Sorting data table

Sorting data table

NutzzNutzz Posts: 2Questions: 2Answers: 0

Hey guys.

I have a data table, made from two columns.
One column has text values, and another contains numeric values.

I need to sort this table by having HTML <select> element and choosing from ABC, or numeric values (highest to lowest).
Any suggestion on how can this be done?

This question has an accepted answers - jump to answer

Answers

  • kthorngrenkthorngren Posts: 20,322Questions: 26Answers: 4,774
    Answer ✓

    Use the order() API to set the ordering based on the option selected.

    Kevin

This discussion has been closed.