Docs
API
  • cellTip

    Mixed

    Cell tooltip.

    It's value is template.

    false

    Example

    
    ...
    columns: [{
      type: 'number',
      width: 75,  
      align: 'center',
      cellAlign: 'center',
      cellTip: '{title} sold {value}<br> items on {day}'
    },{
    ...
    

    Example

    
    ...
    columns: [{
      type: 'number',
      width: 75,  
      align: 'center',
      cellAlign: 'center',
      cellTip: function(o){
        if(!o.value){
          return false;
        }
        
        return o.value;
      }
    },{
    ...
    
    If cellTip is function that it should return cell tip text, if it returns false than tip will not be shown.

    There are several predefined template variables,
    others are data values.

    columnIndex

    Number

    Column order index

    rowIndex

    Number

    Row order index

    title

    String

    Column title

    value

    Mixed

    Cell value

    Default

    
    undefined