oLanguage.sInfoFiltered doesn't work

oLanguage.sInfoFiltered doesn't work

dcatsdcats Posts: 2Questions: 0Answers: 0
edited March 2014 in Bug reports
Using 1.9.4 at the time. Even though I set the oLanguage.sInfoFiltered, it doesn't apply if the dataTable uses AJAX I believe. Most of the dataTables we use set basic properties like aaSorting, aoColumnDefs, bLengthChange, bStateSave, and so fort. When I set the sInfoFiltered, it works as expected when the dataTable is filtered.
However there are a few dataTables that use AJAX for serverside processing ("bServerSide" = true), pagination ("bPaginate": true,), and whatnot. Setting the sInfoFiltered on those have no effect. Setting sInfoPostFix and sInfo works.
Any ideas why?

I'm trying to use fnInfoCallback to mimic it once I figure out how to determine if the dataTable is currently filtered.

Debug: http://debug.datatables.net/ubecuj

Replies

  • dcatsdcats Posts: 2Questions: 0Answers: 0
    Nevermind, sorry. I've figured it out. The AJAX function was setting the iTotalRecords to the number of records filtered instead of total records. I didn't write the function so I didn't notice it.
This discussion has been closed.