Populate DataTable with knockoutjs with edit functionality
Populate DataTable with knockoutjs with edit functionality
nageshjoshi
Posts: 20Questions: 4Answers: 0
Hello,
I am using below link as a reference to create dataTable with knockout binding..
http://www.joshbuckley.co.uk/2011/07/knockout-js-datatable-bindings/
Here is my jsfiddle:
http://jsfiddle.net/cHr2B/4/
Timeout function describes the json object which I am getting from ajax request to REST API.
I have tried lot of things with it but to no avail.
Getting table cannot be reinitialize alert and Onject is not a function error.
Thanks
This discussion has been closed.
Answers
When I run the JSfiddle you linked, I don't get any errors... do you get errors on it?
What I see is a table:
Yes rhino..
It is working here. But I am getting dataTable cannot be reinitialized alert on my browser.. I don't know what is wrong with it.
Thanks
Hmm... sounds like you might be trying to call the
DataTable
initializer more than once, perhaps?I have checked everything, but I don't know what is wrong with my code.
Here is my stackoverflow link where I have posted my question. I have mentioned my html code also. I think I have initialized dataTable only once.
Did you mean to link this?
yes..