How to manually update Showing n to n of N entries (filtered from X total entries)

How to manually update Showing n to n of N entries (filtered from X total entries)

VeershVeeruVeershVeeru Posts: 1Questions: 1Answers: 0
edited March 2023 in Free community support

Datatables prints number of records found like this:

"Showing 1 to 10 of X entries"

I am aware that enabling server side processing will auto update during AJAX call..

Is there any other way to update X entries data...

I am getting X count from another API in my application, so looking is there any other way to update (recordsFiltered of X entries)

Thanks much in advance

Answers

  • colincolin Posts: 15,112Questions: 1Answers: 2,583

    This example from this thread should help, it's showing how to use jQuery's text() method to update the element.

    Colin

  • allanallan Posts: 61,446Questions: 1Answers: 10,054 Site admin

    Also you can use infoCallback.

    Allan

Sign In or Register to comment.