Postgres Loads all data on HTML table but with "No Data Available in Table" at end of table

Postgres Loads all data on HTML table but with "No Data Available in Table" at end of table

jun39jun39 Posts: 1Questions: 0Answers: 0

Hi

I'm new with DataTables. I am currently trying to make it work with data coming from a postgres connection. I am able to load the table successfully on my web application, however at the bottom of the table, right after the last record, is a single column field with a "no data available in table" text. In addition when I try to use the number of records selector and search function postgres table disappear and the "no data available..." field left.

I hope you can help me and thank you for this great work....

Replies

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

    That suggests to me that you are writing the data into the table directly using jQuery or DOM methods, rather than using the DataTables API.

    But really I'd need to be able to see the page to know for sure.

    Allan

This discussion has been closed.