I'm trying to use the Views Save module to save a View that includes a Datatables instance. The error I'm receiving is attached.

Error message:

DataTables warning (table id = 'DataTables_Table_0')
Cannot reinitialise DataTable
To retrieve the DataTables object for this table, pass no arguments or see the docs for bRetrieve and bDestroy
CommentFileSizeAuthor
datatables and views save.PNG11.53 KBherd45

Comments

rdeboer’s picture

I have not heard of or used the Views Save module before. I guess you mean https://www.drupal.org/project/views_save ?

However here is a tip: when you create your table decoration, try and target the table in question as narrow as possible. If its HTML has an id="...", use that. Otherwise the class.

Rik

ar-jan’s picture

Title: does not work with Views Save module » Table Trash does not work with Views Save module?
Status: Active » Postponed (maintainer needs more info)

I guess steps to reproduce and an update about whether more specific targeting works or not are needed.

ar-jan’s picture

Adding the error text for indexation.
Note: #2189445: DataTables Error pop-up when opening table page reports the same error.

rdeboer’s picture

Seem to be related to #2173339: Exposed filter breaks everything.
Have you tried switching AJAX off?