Support » Plugins » [Plugin: Tablepress] How to add / remove row in tablepress via script ?

  • Resolved trix1985

    (@trix1985)


    How to add / remove row in tablepress via script ?

    I have a table which has near 400 rows. I would like to give access to some users to be able to add OR remove rows. So i would like to know how to add / remove rows from script.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    thanks for your post, and sorry for the trouble.

    Sorry, that’s not possible really. Tables can only be edited on the “Edit” screen of TablePress in the WordPress Dashboard.

    Regards,
    Tobias

    Thread Starter trix1985

    (@trix1985)

    hi Tobias,

    Thanks for the update.

    I would like to make the following changes:
    – one table should be editable by several users in frontend.
    e.g. user has acess to some page in frontend where they can add or remove rows into this table.
    – Users can edit only rows , which they created. Or users can create a new rows in that table.

    This is link to my site tablepress: http://agropalata.com.ua/tsenyi-treyderov/
    Currently only i can edit this table in Admin panel.
    And users can not access Admin panel , so they should be able edit table in frontend.

    Any advise appreciated.
    Thanks in advance!

    Hi,

    as I said, this is not possible and most likely will not be supported in the future. Something like this is far beyond the scope and use case of TablePress. You should probably look into a custom database solution.

    Regards,
    Tobias

    Thread Starter trix1985

    (@trix1985)

    hi Tobias,

    Thanks for the update.

    What you can advise regarding custom solution ?
    Can i use datatables to build such custom solution ?

    Thanks in advance!

    Hi,

    I don’t have any particular pieces of advise here, but you should probably build a form with HTML and process it with a PHP script which sends/reads the content to a database tables.
    And yes, you can use DataTables on created HTML tables manually, see http://www.datatables.net/

    Regards,
    Tobias

    Thread Starter trix1985

    (@trix1985)

    Thanks for the reply

    Hi,

    sure! I hope it was helpful!

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Tablepress] How to add / remove row in tablepress via script ?’ is closed to new replies.