Adding a new Row
Adding a new Row
mehmetakifalp
Posts: 2Questions: 0Answers: 0
Hi guys
I use datatables 1.8.2. I want to make "add new row" button.
I Find this page = > http://datatables.net/examples/api/add_row.html
And I fixed my projected completely. But, When I was clicked "Add Button" script give me console error.
Error content :
"TypeError: a is null
http://localhost:8090/site/resources/js/table/jquery.dataTables.min.js
Line 47"
What is it wrong, it is not work.
see you
thank you
I use datatables 1.8.2. I want to make "add new row" button.
I Find this page = > http://datatables.net/examples/api/add_row.html
And I fixed my projected completely. But, When I was clicked "Add Button" script give me console error.
Error content :
"TypeError: a is null
http://localhost:8090/site/resources/js/table/jquery.dataTables.min.js
Line 47"
What is it wrong, it is not work.
see you
thank you
This discussion has been closed.
Replies
If you are trying to add a row, I would suggest using the editor.
http://editor.datatables.net/
It will allow you to perform CRUD. The one that you are linking to is to add a static row. Where the editor will allow you or a user to add a row based upon entry.
Cheers...
If you are looking to perform functions like the editor or only add a new row/record from user input, then you will have to write the code to do this. That is what the editor add-on does. Plus, when you purchase it helps Allan the developer of datatables. Try the 15 day free trial and see if it fits your needs.
Cheers...