ColumnDef's don't work when you make an ajax call
ColumnDef's don't work when you make an ajax call
We've tried everything, including the suggestion on this thread with the supposedly working code. https://datatables.net/forums/discussion/26357/unable-to-get-columndefs-render-to-work-on-columns-coming-from-ajax-request nothing works, too bad, almost everyone will use the DataTable with ajax calls, it should be tested that way and the demo's should run that way. This is a show stopper for us, we need our primary key in the table hidden but there is no way to do that if you use ajax and that seems very strange as ajax would be the way I would imaging 95% of the folks are using it.
Answers
ColumnDef's don't work when you use Ajax, thus you can cannot make your primary keys and such hidden, bummer