[bug:solved] datatable hideColumn may incorrectly create rightSplit

Hi,

It seems there is an issue in datatable.hideColumn:

if (hindex >= this._hidden_split[1]) this._settings.rightSplit += span;else this._rightSplit += span;

When hindex >= this._hidden_split[1], rightSplit will be changed.
It will even create rightSplit for datatable with no rightSplit setting.

It seems the correct one should be
if (hindex >= this._hidden_split[1] && this._hidden_split[1]>0 ) ...

Regards
Wicky

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion