This PR updates the addColumn() method to allow the third parameter in the column object- whether it is enabled or not. Currently this is always set to true, but in some cases you may wish to have some columns set to false. This means they will be toggleable, but will initially be toggled off, or hidden.
I thought it was reasonable to only do this on the addColumn() method and not also on addColumns().
This PR updates the
addColumn()
method to allow the third parameter in the column object- whether it is enabled or not. Currently this is always set to true, but in some cases you may wish to have some columns set to false. This means they will be toggleable, but will initially be toggled off, or hidden.I thought it was reasonable to only do this on the
addColumn()
method and not also onaddColumns()
.