ColVis sSize option is ignored
ColVis sSize option is ignored
mr_perplexed
Posts: 3Questions: 0Answers: 0
Hi,
Whatever value you set sSize to, it stays at 'auto'. I've reviewed the code and this is because the sSize option is missed out in _fnApplyCustomisation. The fix is simple - just add the following lines at the end of _fnApplyCustomisation :
[code]
if ( typeof oConfig.sSize != 'undefined' )
{
this.s.sSize = oConfig.sSize;
}
[/code]
Can you add this fix to the next build of ColVis?
Awesome work on DataTables. It's making a huge difference to my projects. Many thanks.
Whatever value you set sSize to, it stays at 'auto'. I've reviewed the code and this is because the sSize option is missed out in _fnApplyCustomisation. The fix is simple - just add the following lines at the end of _fnApplyCustomisation :
[code]
if ( typeof oConfig.sSize != 'undefined' )
{
this.s.sSize = oConfig.sSize;
}
[/code]
Can you add this fix to the next build of ColVis?
Awesome work on DataTables. It's making a huge difference to my projects. Many thanks.
This discussion has been closed.