Base solution for your next web application
Open Closed

Issues with Datatable use in Multiple Modal Lists #5209


User avatar
0
ayoyusuf created

We are using ASP.Net Zero Asp.Net Core MVC & JQuery 5.0.6. I have my project and app working fine for most of my deployments. The challenge: is that if we have a Modal Form opened from a URL (Header Modal), and it has Datatable (e.g. A Header Table), if we open another Modal form (Detail Modal) having a table from it (e.g. to Open a Detail Table based on the Header Table), the Detail Modal opens but the Table does not show properly and the JQuery breaks but no errors in Chrome development debugger.

In Version 2.0 using MVC and JQuery (which used Jtable), we are able to open an Header Modal and detail Modal with tables and they work perfectly.

Please is there a sample for Modal header and modal detail where both modals have datatables?

NOTE: We have the List Modal, create Modal and Edit Modals working in both Ver 2 and ver 5.


4 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    @ayoyusuf are you using different IDs for your tables ? If so, could you share your project with us via email (<a href="mailto:[email protected]">[email protected]</a>) ?

  • User Avatar
    0
    ayoyusuf created

    Yes, the Tables containing the DataTables have different IDs. I have sent you an email with the files requested.

  • User Avatar
    0
    alper created
    Support Team

    thanks for sharing your project files. we'll try to reproduce the problem

  • User Avatar
    0
    ayoyusuf created

    I do hope you were able to observe and understand better the problem based on the full project that was sent.

    Alternatively, if you do have a similar implementation in another project/sample, do share so I can pick up the logic used for it from that.

    If you need any other information, do let me know.