jQuery DataTables: How to select columns


Columns can be selected using column().select() or columns().select() API methods.

You can enable single or multiple items selection using select.style option.

Selected columns can later be retrieved using the selected extension to the selector-modifier object. For example table.columns( { selected: true } ).data() will get the data of all columns which are selected in the table.

Select columns using table cells

Select columns using checkboxes

You May Also Like


Leave a Reply


This site uses Akismet to reduce spam. Learn how your comment data is processed.