Docs
API
  • data

    Mixed

    It is used only for combo column type.

    It is list of possible combo values.

    Example

    
    {
      index: 'country',
      title: 'Country',
      type: 'combo',
      data: ['USA', 'Canada', 'England']
    }
    

    Example: Dynamic loading from server

    
    {
      index: 'country',
      title: 'Country',
      type: 'combo',
      data: {
        proxy: {
          url: 'countries.php',
          method: 'POST'
        }
      }
    }
    ...
    countries.php
    {"data": ["USA", "Canada", "England"]}
    

    Returned data from server must be valid JSON, in other case it will not be rendered