Docs
API
  • sorters

    Array

    Initial grid state sorters.
    Doc link about sorting - Sorting.

    Example

    
    var grid = new FancyGrid({
      sorters: [{
        key: 'surname',
        dir: 'ASC',
        type: 'string'
      },{
        key: 'age',
        dir: 'DESC',
        type: 'number'
      }],
      ...
    

    Default

    
    undefined