Docs
API
  • showColumn(dataIndex: String)


    Shows column if it was hidden before or has property hidden: true.
    dataIndex is column index of data.

    Example

    
    new FancyGrid({
      ...
      columns: [{
        index: 'name',
    	hidden: true,
    	title: 'Name',
      ...
    
    grid.showColumn('name');
    

    showColumn(orderIndex: Number)


    Shows column by it's order in columns. orderIndex is order in columns.

    Example

    
    grid.showColumn(0);
    

    showColumn(side: String, dataIndex: String)


    To show column in locked sides. It requires to define param side.
    Possible values: 'left', 'center', 'right'

    Example: show locked column

    
    grid.showColumn('left', 'name');
    

    Example: show right locked column

    
    grid.showColumn('right', 'name');