Documentation error? editor.file() doesn't exist

Documentation error? editor.file() doesn't exist

dmcglynndmcglynn Posts: 15Questions: 5Answers: 0

The example on

https://editor.datatables.net/examples/advanced/upload.html

shows editor.file() which doesn't seem to exist? This should be table.file() ?

Or am I confused?

Thanks,
David

Replies

  • allanallan Posts: 63,489Questions: 1Answers: 10,468 Site admin

    You are correct - sorry about that! I've just updated the example (you might need to reload the page / cache).

    Editor 1.6 is going to have file and files methods which match the ones it attaches to DataTables, and the examples will reflect that. The error here was that the 1.6 dev examples were pushed out to the site!

    Regards,
    Allan

This discussion has been closed.