excel exporter issue

excel exporter issue

rotorboyrotorboy Posts: 19Questions: 5Answers: 0

Link to test case: test case behind login;

Debugger code (debug.datatables.net):

in datatables.min.js, there is this line
var o = t.header[e].length;

Error messages shown:
.length is undefined method,

Description of problem:

when table views are dynamically changed, and a column with date strings is displayed as first column, header[0] is undefined, resulting in .length not returning a value. I could take screen shots if that helps.

Answers

  • kthorngrenkthorngren Posts: 21,932Questions: 26Answers: 5,067

    when table views are dynamically changed

    How are the changes being made? Assuming you mean the table data is changed then it sounds like you might not be using Datatables API's to make these changes. See this FAQ for more details.

    length not returning a value. I could take screen shots if that helps.

    Screenshots are typically difficult to debug. If the above doesn't help then please build a simple running test case that replicates the issues so we can see how you are making the changes and to help debug.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Kevin

Sign In or Register to comment.