Docs
API
  • setColumnTitle(index: Number|String, value: String, side: String)


    Update column title text.

    • index- Number|StringColumn order/column data index.
    • value - String.
      New value.
    • side - String.
      Side of column: left, center, right

    Example: index - String

    
    var grid = new FancyGrid({
      ...
    ...
    grid.setColumnTitle('age', 35);
    

    Example: index - Number

    
    var grid = new FancyGrid({
      ...
    ...
    grid.setColumnTitle(1, 'Column');
    

    Example: locked side

    
    var grid = new FancyGrid({
      ...
    ...
    grid.setColumnTitle(1, 'Column', 'left');