Editor standalone not related to the same datatables in the same page
Editor standalone not related to the same datatables in the same page
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
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
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.
Something like this?
Allan
Yes, exactly. Thanks!!