Get data for the selected cells.
This method is used to obtain the data from the cells retrieved by the selector used in the
Note that unlike its singular counter part (
cell().data()) this method does not have a 'set' form. It can only be used to retrieve data.
Get the data for the selected cells
DataTables API instance with the data for each selected cell in the result set
Get the data for all cells which have a class of 'info':
var table = $('#example').DataTable(); var data = table .cells( ".info" ) .data(); console.log( data );
The following options are directly related and may also be useful in your application development.