Quantcast
Channel: DataTables 1.10 — DataTables forums
Viewing all articles
Browse latest Browse all 2364

suppress DataTables alert?

$
0
0

Link to test case: https://jsfiddle.net/BeerusDev/juy1p97h/5/

For some reason I am getting the Warning: Requested unknown parameter alert when I click "Mark Task as Completed" button. I cannot figure out why that it is doing this, as when I click that button it posts a new list item to another list that my completedTable "GETS" from. It is a field created by SharePoint so it is never null or anything and will always have a date value. I know a work around would be to create a moment value in my column render, but then that will change every day to the current date? or will it.

The main problem is that I think the table is trying to read the table before the data is sent to it, then it alerts the error, but when you click "ok" the tables both load, and the correct value of the Completion date (aka data.Created) populates to the field.

The fiddle I have created shows the format/order of my JS, maybe I am initializing or calling something in the wrong spot?

I only added the crucial JS to my fiddle, if I need to add more let me know.


Viewing all articles
Browse latest Browse all 2364

Trending Articles