Docs
API
  • fields

    Array

    If data is Array that it is possible to set indexes over fields property.

    Example

    
    data: {
      fields: ['id', 'name', 'surname']
      items: [
        [1, 'Ted', 'Smith'],
        [2, 'Ed', 'Johnson']
      ]
    }