Skip to content

Column header drop down menu with hidden columns options #8976

Answered by AMBudnik
haraleib asked this question in Q&A
Discussion options

You must be logged in to vote

That is, indeed, a great question.

To enable plugin-related options you need to enable the plugin first. But hidden_column... will work only in contextMenu. The reason why it works this way is the fact that dropdownMenu works per column so showing columns will not be possible with the use of dropdownMenu.

I think that the hiding option is not added to the default set of options when hiddenColumns is enabled because of the actions (select two columns) you need to take to show columns. But I will keep it open for a discussion.

Till we sort that out, here is what you can use https://jsfiddle.net/ns3ckrz4/6/

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@haraleib
Comment options

Answer selected by haraleib
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment