Is column search incompatible with "language": { "url": " setting?

Is column search incompatible with "language": { "url": " setting?

kaluosikaluosi Posts: 19Questions: 6Answers: 0

In the moment I add:

"language": {
         "url":  "//cdn.datatables.net/plug-ins/1.10.13/i18n/Spanish.json"
 },

to the dataTables settings the language changes but the column search mechanisms stop to work. It happens with any language.

Any clue??

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,650Questions: 1Answers: 10,094 Site admin
    Answer ✓

    Hi,

    As the language.url documentation notes, it makes the initialisation of the table async. You'll need to do the column filter init in initComplete.

    Allan

This discussion has been closed.