Bug with responsive plugin when ajax returns empty set
Bug with responsive plugin when ajax returns empty set
rusty22
Posts: 1Questions: 0Answers: 0
I'm using responsive with an ajax dataTable. It works fine except when ajax returns an empty response:
data: []
draw: 2
recordsFiltered: 0
recordsTotal: 9814
This causes an error in row 562 of dataTables.responsive.js. "Cannot reead property 'cloneNode' of null.
I see similar discussion items that were closed due to lack of information, so I don't believe I am the first person to see this.
This discussion has been closed.
Replies
You aren't and it should be fixed in the very latest version of Responsive (1.0.2-dev at the time of writing). I'm going to be packing that into a release next week.
Allan