Okay
  Public Ticket #1374560
Popover tool ( Popover edit block fields)
Closed

Comments

  •  1
    Sergi started the conversation

    Hello, i have a question before to purchase your product WpDataTables

    Is possible to show more fields to edit in the Popover edit block than in the table rows?

    For example:

    I have a BD with 10 fields for each entrie

    I want to show a table with 5 columns (only 5 fields from BD to show), but when i open a popover edit block, i need to show the rest of entrie fields (10 fields).

    Thanks!

  • [deleted] replied

    Hi Sergi,
    Thank you for the inquiry.

    Something like that is not possible with popover tool, but it is possible to expand rows on + button like on this example https://datatables.net/examples/api/row_details.html.

    You can try our sandbox site: Front-end & Back-end - you can find a fully functional version there to try out all plugin features.

  •  1
    Sergi replied

    Thanks Milos! great!

    A last question: 

    I want to show with WPDataTables a MySQL query from my WPForms entries in wordpress.

    The problem is that WPforms save the data collected in the form in one field. Like this:

    {"1":{"name":"Name","value":"Kevin","id":1,"type":"text"},"2":{"name":"Email","value":"[email protected]","id":2,"type":"text"},"3":{"name":"Phone","value":"111222333","id":3,"type":"text"}}

    You can see it in my attachment.

    Is possible to extract these values (name, email, phone) for each entries and show it with columns in WpDataTables?

    Thanks a lot!

  • [deleted] replied

    Hi Sergi,

    Unfortunately it is not possible to create a table from this format with MySQL based wpDataTables. You could create wpDataTable from PHP serialized array but you will have to create some PHP script that will transform this data into PHP serialized array first.