Footer bInfo "Showing 0 to 0 of 0 entries"

Footer bInfo "Showing 0 to 0 of 0 entries"

gmapisgmapis Posts: 1Questions: 0Answers: 0
edited January 2014 in Bug reports
I am trying to implement Datatables but facing a glitch that makes no sense.
The Footer section for bInfo is displaying "Showing 0 to 0 of 0 entries" even though i have multiple records in the table. When i inspect the html element, the accurate data is there "Showing 1 to 4 of 4 entries" however, not displayed on the screen. This happens in Chrome and Safari, but works fine in Firefox.

var oTable = $("#table-profiles").dataTable({
"bProcessing": true,
"bDeferRender": true,
"bSortClasses": false,
"sPaginationType": "full_numbers",
"sAjaxSource": getURL() + "api/profile/" + OrganizationId,
"sDom": "<'row'<'col-sm-6'l><'col-sm-6'f>r>t<'row'<'col-sm-6'i><'col-sm-6'p>>"});


If i remove "sDom", everything works fine.

I have spent too many hours trying to figure this out, any help will be greatly appreciated.

thanks.

Replies

  • allanallan Posts: 63,205Questions: 1Answers: 10,415 Site admin
    Delighted to offer some help - please link to a page showing the error: http://datatables.net/forums/discussion/12899/post-test-cases-when-asking-for-help-please-read .

    Allan
This discussion has been closed.