custom text in sProcessing not showing when serverSide set to true
custom text in sProcessing not showing when serverSide set to true
tishad
Posts: 4Questions: 2Answers: 0
Hi, I am using a custom text in sProcessing option. It works in tables where serverSide is set to false but doesn't work in tables where serverSide is set to true. Changes in the sProcessing text are not reflected in the table, it keeps showing the old text. Any idea how to get around this strange behavior? Thanks in advance!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @tishad ,
The processing message is controlled by
language.processing
. Try changing that, and if no success, please could you provide a link to your page or a test page,Cheers,
Colin
Hi @colin, thank for your reply. I tried changing sProcessing to processing in the language section but no luck. It's still the same. I am posting the initialization codes for two tables where it works and where it doesn't. Datatables version is 1.10.16
Works here:
But it doesn't work here:
You'll need to include the
processing
translation in yoururlLang
file. Somewhat counterintuitively the client-side designed strings will be overwritten by the url source strings. This is a deficency that will be correct in the next major release.Allan
Thanks Allan, finally got around it after changing the string in urlLang file.