Skip to content
Advertisement

Tag: datatables

How to get name of datatable column?

I’m using DataTable 1.10.9 (from https://datatables.net). Columns for the datatable are defined at the initialization step in javascript and each column has a unique name, e.g.: I know I can get the column from the table by the name I’ve given it, but I can’t seem to find how to find a column’s name from the column object. (I’m hoping

How to reload/refresh jQuery dataTable?

I am trying to implement functionality whereby clicking a button on the screen will cause my jQuery dataTable to refresh (as the server-side data source may have changed since the dataTable was created). Here’s what I have: But when I run this, it does nothing. What’s the proper way to refresh the dataTable when the button is clicked? Answer You

jQuery datatables ajax callback

I am using jQuery DataTables and doing server-side data. I’m trying to call a function when the ajax call returns. I tried inserting this fnCallback2 which calls my function and the original function, but jQuery just throws an error (and doesn’t tell me what the error is) and skips out. I also tried adding the fnInitComplete parameter, but that only

Advertisement