• Resolved PatrizioRD

    (@patriziord)


    Hey Tobias,

    I’ve been using your plugin and its extensions from 2015, more than useful and easy to get tables done.
    I yet searched around for this topic, but no luck so far: I have about 900 products, some with pdf technical sheets attached and a couple of info with textfields, so just three ACF custom fields.
    I would generate a table dynamically, one column each custom field, and a php iteration through my products that echoes a new row every time a technical sheet is found, something like
    product name | code | technical sheet
    power cleaner| 1002 | a href …/uploads/… sheet.pdf
    other product| … | …

    I can do this with php and html tables, but I’d love to have your tables javascript features on board, also because the plugin is installed yet.
    Is that feasible?
    Thanks in advance

    • This topic was modified 6 years, 2 months ago by PatrizioRD.
    • This topic was modified 6 years, 2 months ago by PatrizioRD.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The best approach here is to use your custom PHP script and then simply add the JS features to the generated table. TablePress uses https://datatables.net/ for these.

    Regards,
    Tobias

    Thread Starter PatrizioRD

    (@patriziord)

    Thanks for your reply Tobias.
    I just supposed so, going to play with those JS libraries.
    Bests.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ??

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Populating a table with rows, dynamically, from post objects meta fields.’ is closed to new replies.