No Select on SearchPanes, when loadling language.json thru url
No Select on SearchPanes, when loadling language.json thru url
edgarjung
Posts: 1Questions: 1Answers: 0
see test: http://live.datatables.net/suqirihi/1/edit
When adding
language: {
url: "http://cdn.datatables.net/plug-ins/1.11.4/i18n/de_de.json"
}
to a SearchPanes Table, it is not possible to click the filter values. Removing the URL or even putting the json String inside language solves the problem as workaround.
initialization:
$(document).ready( function () {
table = $('#example').DataTable({
dom: 'Pfrtip',
language: {
url: "http://cdn.datatables.net/plug-ins/1.11.4/i18n/de_de.json"
}
});
} );
Edited by Colin - Syntax highlighting. Details on how to highlight code using markdown can be found in this guide.
This question has an accepted answers - jump to answer
Answers
Yep, something odd going on there. I've tried initialising SearchPanes within
initComplete
as well, but no joy there either.I've raised it internally (DD-2442 for my reference) and we'll report back here when there's an update.
Cheers,
Colin
Hi @edgarjung ,
Thanks for pointing this out. That should be the issue fixed now as you can see at this example.
This will be available in the next SearchPanes release which we hope will be in the next few weeks. Until then you can access the fix from the nightly builds.
Thanks,
Sandy
Hi,
here is another problem related to the translation.
The number of hits isn't displayed in the panes.
greeting
René
That's a problem with the German string for
It currently has
{Anzahl}
- I've updated the translation and that will make it to the file in the next release. In the meantime you could just host the file locally and make that change.Colin