I am making some small tweaks to a DataTable entry, and came across this small problem - if the _TOTAL_ is anything other than one, it makes sense, but if my number of records just so happens to be one, the phrase just doesn't make sense - "There are 1 people in this Role"?
Is there any way to change sInfo if _TOTAL_ is 1?
Any ideas are very welcome!
Felix
Is there any way to change sInfo if _TOTAL_ is 1?
$("#sqepMatrix").dataTable({ "bJQueryUI": true, "bPaginate": false, "oLanguage": { "sInfo": "There are _TOTAL_ people in this Role." }, "sPaginationType": "full_numbers" });
Any ideas are very welcome!
Felix