Footer bInfo "Showing 0 to 0 of 0 entries"
Footer bInfo "Showing 0 to 0 of 0 entries"
gmapis
Posts: 1Questions: 0Answers: 0
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.
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.
This discussion has been closed.
Replies
Allan