Docs
API
  • sort(index: String, direction: String)


    Sorts grid by data index and direction.
    Possible values of direction: 'ASC'|'DESC'|'DROP'

    Example

    
    grid.sort('age');
    

    Example

    
    grid.sort('age', 'ASC');
    
    http://site.com/docs/grid-concepts/sorting

    See also

    Doc link Sorting
    Tutorials link Sorting
    Tutorials link Server Sorting