colvis button exclude several column from visiblity list

colvis button exclude several column from visiblity list

t0n1zzt0n1zz Posts: 32Questions: 19Answers: 0
edited August 2016 in Free community support

so from what i read in here it is possible to exclude column from visibility list... but the problem is those example only show how to exclude one column....
so how to exclude several column?

Answers

  • allanallan Posts: 63,815Questions: 1Answers: 10,517 Site admin

    Use a suitable selector: :not(.first,.second).

    Allan

  • t0n1zzt0n1zz Posts: 32Questions: 19Answers: 0

    hmm i am sorry but it is not working... it got error Syntax error, unrecognized expression: :not(.first

  • allanallan Posts: 63,815Questions: 1Answers: 10,517 Site admin

    It looks like something is splitting on the comma which shouldn't be happening - I suspect it is the DataTable column selector. I'll need to look into that. I'll post back once I have a chance to do so.

    Allan

  • allanallan Posts: 63,815Questions: 1Answers: 10,517 Site admin

    I've committed the fix for this and it will be in the 1.10.13 release of DataTables. It is already in the nightly version.

    Allan

This discussion has been closed.