Okay
  Public Ticket #3066375
Edit single row
Closed

Comments

  • Laura started the conversation

    Hi guys, 

    I am very happy to use WP Datatables. I have also bought the addon Master Detail. I am figuring out two challanges, but I really need some support:

    1. If I open de details on a page how can I make the details editable front-end from there? 

    2. When our users open the details the should create an entry from another table which is connected to the table from the single page. So for example±

    My employee have an order. The click on the details of this order, they open the single row on a page. On that same page the employee need to create a report with the ID of the of the order. 

    I hope you understand my request. 

    Kind regrards,


    Laura van Nieuwland

    Agency 6


  •  2,496
    Aleksandar replied

    Hello Laura

    Thank you for your purchase.

    1. Unfortunately, Master-Detail modals and pages can't be editable. They're only there to show the details of a clicked row, and at the moment there's no way you can edit them through Master-Detail.

    Please feel free to add this as a feature suggestion on this link.

    2. This also can't be done, but I will forward the question to our developers - maybe they can find a way to make it happen.

    I'll get back to you as soon as I hear from them.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  2,496
    Aleksandar replied

    Hey Laura

    You can use Master-Detail and Report Builder together, and edit the input but only for the report builder - it won't be changed in the table.

    So, you need to create a report with inputs/variables that you need, and then from the table you need to forward placeholders as a default attribute. For example, create three inputs "id_wdt", "product", and "name" and then forward placeholders in the default attribute %idwdt%, %product%, and %name%.

    [reportbuilder id=41 element="varInput" name="id_wdt" text="Please enter the id_wdt" default="%idwdt%" class=""]

    [reportbuilder id=41 element="varInput" name="product" text="Please enter the product" default="%product%" class=""]

    [reportbuilder id=41 element="varInput" name="name" text="Please enter the name" default="%name%" class=""]

    [reportbuilder id=41 text="Download report" class="btn"]

    They don't need to have the same input on the page and in the table, it's only important that these inputs are forwarded to the report like

    Id = ${id_wdt}
    Product = ${product}
    Name = ${name}

    Then you can edit them before the report is downloaded in the input, but if you access the page directly, the inputs will be empty.

    I hope that helps!

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables