Skip to content

Tag: datatable

get the data from the datatable on click

How to get the data object on click the cell.I have created the table and used datatable.I want to get the geography and customer type from the cell click I have tried as my table id is table and I got the response as below in console for console.log(data1); Answer If you add a click event on td and click

Jquery datatables button not working?

Here is my screenshot : This is my following code: I’m trying to use this code from https://datatables.net/extensions/buttons/custom. I dont why my button button didn’t show up. I was wondering why this code is not working. Can anyone please tell me how to use ‘jQuery DataTables Button&#8217…