draw() method not working on multiple table
draw() method not working on multiple table
mickeyjs
Posts: 9Questions: 3Answers: 0
Dear Team,
I have strange situation with [table.row($(this).parents('tr')).remove().draw(); ] method it working with one of the table on the same page but not for the other
Please help
http://debug.datatables.net/oculif
This discussion has been closed.
Answers
Please see the following URL for test Case
https://jsfiddle.net/z9dfcb57/5/
I'm getting a couple of JS errors in the test case. jQuery needs to be loaded before DataTables which was easy enough to fix, but then all I get is a button, and clicking on that results in
BindDetailJson is not defined
in the console.Allan
sorry for that allan
Updated link : http://live.datatables.net/wecoyiqi/1/edit
Problem is with first table when i click on हटाये button on first row design crashes.Same thing working perfectly with Second table.
Please help !!!
A
rowspan
is not actually valid in a DataTables'tbody
. It looks like that is what is causing the issue. I don't actually see how you are injecting the rowspan in?Allan
thanks for the response allan
But how the second table is working perfectly
Not sure - might be random fluke. It also has a rowspan, so I'm not sure!
Allan