plugins/fitcolumn.js
function (table) {
        table
            .onBodyAdd(this.setWidth.bind(this))
            .onColumnAdded(this.onColumnAdded.bind(this))
            .onColumnPropertyChanged(this.onColumnPropertyChanged.bind(this));
    }
function (table) {
        table
            .onBodyAdd(this.setWidth.bind(this))
            .onColumnAdded(this.onColumnAdded.bind(this))
            .onColumnPropertyChanged(this.onColumnPropertyChanged.bind(this));
    }
function ( table ) { table . onBodyAdd ( this . setWidth . bind ( this ) ) . onColumnAdded ( this . onColumnAdded . bind ( this ) ) . onColumnPropertyChanged ( this . onColumnPropertyChanged . bind ( this ) ) ; }
Configure plugin by attaching functions to table events

@param {PdfTable}
@return {void}
Configure plugin by attaching functions to table events