Editor standalone not related to the same datatables in the same page

Editor standalone not related to the same datatables in the same page

gatesnetgatesnet Posts: 13Questions: 5Answers: 0

Hello,

I have a datatable for a list of products, I want a customize button that takes some information from the selected rows (id, product description, and price). After I click this button, I want to display a popup edit/create a form to display that information. and show other fields associated with another controller (Invoice) such as (product ID, product Desc, quantity, invoice number, and price). these fields do not exist in the product table and I don't want to show them.

Answers

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin

    I'm not really clear on the structure of the data and how you want it to be presented here I'm afraid. If you multi-select rows from the list of products, does the popup show details for all of the rows. Is the invoice link one-to-one or one-to-many? How does the editing of the invoices work? What other fields do you want to display? I assume they are from the invoice table?

    Allan

  • gatesnetgatesnet Posts: 13Questions: 5Answers: 0

    Yes, correct. I have a table for products and another table for invoices. I wanted to select products from the products table and click on a button to add those products to the invoice table using a popup window related to the invoice table.

  • allanallan Posts: 63,522Questions: 1Answers: 10,473 Site admin

    Something like this?

    Allan

  • gatesnetgatesnet Posts: 13Questions: 5Answers: 0

    Yes, exactly. Thanks!!

Sign In or Register to comment.