Search & Pagination Disappearing when adding data using forms

Search & Pagination Disappearing when adding data using forms

reton2008reton2008 Posts: 2Questions: 2Answers: 0

HI ! I am using Data Table in .net here is the image
. Suddenly I am facing a problem. First let me explain my steps are
(1) Add data to the DataTable using a form
(2)Added data will be stored
(3) stored data will be loaded in data table when I will search
But I am stuck in first step. When I am adding data to my table my using a form
than search box is disappearing like this image
. I just need to fix that. Why the table is disappearing and how to fix it. Please let me know if other information needed.

Answers

  • kthorngrenkthorngren Posts: 20,247Questions: 26Answers: 4,761

    Please let me know if other information needed.

    The best thing to do is provide a link to your page or a test case replicating the issue. This way we can see what you are doing and can look at it live.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    I'm not sure how you are trying to update the table but my guess is you are destroying it an rebuilding it. When rebuilding it you are getting a Javascript error. Take a look at the browser's console for errors.

    Kevin

This discussion has been closed.