aLengthMenu & language file
aLengthMenu & language file
Old
Posts: 2Questions: 0Answers: 0
[code]"iDisplayLength": 5,
"aLengthMenu": [[5,10,25,50,100,-1], [5,10,25,50,100,"All"]],
"oLanguage": {
"sUrl": "languages/*.txt"
},[/code]
How insert "All" in the language file for translation?
"aLengthMenu": [[5,10,25,50,100,-1], [5,10,25,50,100,"All"]],
"oLanguage": {
"sUrl": "languages/*.txt"
},[/code]
How insert "All" in the language file for translation?
This discussion has been closed.
Replies
Allan
I'm from Argentine and speak spanish, so please, excuse my english.
Thank allan for this awesome thing called "DataTables".
I had the same problem that Old:
[quote]How insert "All" in the language file for translation?[/quote]
and solved whit this option on initialization:
[code] "aLengthMenu": [[10, 25, 50, 100, data.iTotalRecords], [10, 25, 50, 100, "Todos"]], [/code]
[quote] data.iTotalRecords [/quote] is info from server side that is used for pagination.