The sortTable function allow sort the rows of a table ASC or DESC through one column number, if not selected, The table is sorted from the first column.
The first parameter of the function accepts one of the following values:
number: Sort column form numbers.
letter: Sort column from letters, including Latin characters.
both: Sort column from letters and numbers.
The second parameter (optional) contains the following options:
reverse: false | true . Default false, indicates whether the order is ascending or descending.
column: int . Default 1(first column). The number of the column that will be responsible for sorting rows.
No hay comentarios:
Publicar un comentario