Two tables using the same custom form

Two tables using the same custom form

akiralakiral Posts: 2Questions: 0Answers: 0

Hello I currently have two datatables in the same application that is ran by a drop down needed for current testing purposes for different views. I used the custom form for one of the tables and was trying to use it again for the other one but it doesn't seem to work. Is this impossible or would I need to create another custom form with a different id tag with similar inputs?

Replies

  • kthorngrenkthorngren Posts: 21,309Questions: 26Answers: 4,947

    Without seeing a running example its hard to say what the problem might be. In order for us to help debug please post a link to your page or a test case replicating the issue.
    https://datatables.net/manual/tech-notes/10#How-to-provide-a-test-case

    Kevin

  • akiralakiral Posts: 2Questions: 0Answers: 0

    Okay so nvm. I realized my slightly dumb self had was using a var instead of a const when I initialized my editor. That's why it worked the first time with my drop down view and than would stop the second time.

This discussion has been closed.