Git Product home page Git Product logo

herch / sorttable Goto Github PK

View Code? Open in Web Editor NEW

This project forked from manudavila/sorttable

0.0 2.0 0.0 132 KB

The SortTable function is a function that lets you sort the rows in a table up or down through the the indicated column. La función sortTable es una función Jquery que permite ordenar las filas de una tabla ascendente o descendentemente a través de la la columna indicada.

License: GNU General Public License v3.0

sorttable's Introduction

sortTable

SortTable Jquery


DEMO sortTable

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.

DEMO sortTable

La función sortTable permite ordenar las filas de una tabla ascendente o descendentemente a través de la la columna indicada, si no se indica nada se ordenará a partir de la primera columna de la tabla.

El primer parámetro de la función acepta uno de los siguientes valores:

  • number: Ordena la columna a partir de números.
  • letter: Ordena la columna a partir de letras, incluyendo caracteres latinos.
  • both: Ordena la columna a partir de letras y números.

El segundo parámetro(opcional) contiene las siguientes opciones:
  • reverse: false | true . Por defecto se encuentra en false, indica si el orden es ascendente o descendente.
  • column: int . El número de la columna que será la encargada de ordenar las filas. Por defecto su valor es 1, la primera columna.

sorttable's People

Contributors

manudavila avatar

Watchers

James Cloos avatar René Hernández Charrez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.