Docs
API
  • title

    Mixed

    Grid title text.

    Example

    
    title: 'Grid of statistics',
    

    Example

    
    title: {
      text: 'Grid of statistics'
    }
    

    Example: css className

    
    title: {
      text: 'Grid of statistics',
      cls: 'my-title'
    }
    

    Example: style

    
    title: {
      text: 'Grid of statistics',
      style: {
        text-align: 'center'
      }
    }
    

    Example: tools

    
    title: {
      text: 'Grid of statistics',
      tools: [{
        text: 'Alert',
        handler: function(){
          alert('This is alert');
        }
      },{
        text: 'Hide',
        handler: function(){
          grid.hide();
        }
      }]
    }
    

    Default

    
    undefined