Docs
API
  • columns

    Array

    To do grouping of columns header, needs to place in columns sub value columns.

    Example

    
    columns: [{
      title: 'Company',
      index: 'name',
      type: 'string',
      width: 200,
    }, {
      text: 'Stock Price',
      columns: [{
        title: 'Price',
        index: 'price'
      }, {
        title: 'Change',
        index: 'change',
        render: renderChangesFn
      }, {
        title: '% Change',
        index: 'pctChange',
        render: renderChangesFn
      }]
    }, {
      title: 'Last Updated',
      index: 'lastChange',
      type: 'string',
      width: 97
    }]
    ...
    

    Default

    
    undefined