Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Column visibility – Hide one column by default

$
0
0

Replies: 0

Hi,

In your DataTables Buttons example, how do I hide the “First Name” column inside the “Column visibility” button by default via custom Command?

I tried to use this Custom Command you post earlier this year, but all buttons (Column visibility, CVS, Print) were not shown.

“columnDefs”: [ { “visible: false, “targets”: [ 3, 5 ] } ]

https://wordpress.org/support/topic/hide-columns-by-default-with-option-to-show/

Thanks for your help!


Viewing all articles
Browse latest Browse all 59525

Trending Articles