Docs
API
  • cellStylingCls

    Array

    Grid can not auto-detect used classnames in render method of columns and requires help to clear cells from used classnames.

    Example

    
    new FancyGrid({
      cellStylingCls: ['green', 'red', 'yellow'],
      ...
      columns: [{
        ...
        render: function(o){
          if(o.value < 50000){
            o.cls = 'red';
          }
          else if(o.value > 90000){
           	o.cls = 'green';
          }
          else{
           	o.cls = 'yellow';
          }
    
          return o;
        }
    

    Default

    
    undefined