Hey everyone!

With the holiday season upon us, we want to share our upcoming working hours:

After that, we’ll return to our regular schedule and assist you as quickly as possible.

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find tons of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel), which might just have the answers you need while we’re away.

Thanks a bunch for your understanding and support!

Warm regards and happy holidays!

TMS

Okay
  Public Ticket #1429022
How to pre-fill a fron-end editable table?
Closed

Comments

  • Ross started the conversation

    Hi, I'm trying to create a manual table that users will be able to use in order to add their weight and other parameters from the front end.

    I'd like to pre-fill the "Weeks" columns with 1,2,3,4 so that at least four rows would already exist (even though with 0.0 values for the measurements) and make THAT visible to all users.

    The users should be able to see the 4 rows in the table, AND edit only THEIR data.

    I was hoping I would be able to prefill the table on the back-end and the resulting table would be shown to users (who would go and update it further), but it seems like it's not the case. Is there a workaround?


    Thank you!

  •  472
    Isidora replied

    Hi Ross,
    Thank you for your purchase.

    Unfortunately, that is not possible is you turn on option Users can see and edit own data. When you turn on this option and you insert that 4 values it will be visible only to you. What you can do is to make that table that you need and insert that 4 values with option Users can see and edit own data. Then you can make from that table new one(from table name which you can find in field MySQL table name for editing on EDITING tab in table settings of that first table). This table will show all data for all users, but you can change look of that table with conditional formatting that will hide all others rows except that four that you insert. Like that you will have 2 tables on page. First one showing just that four rows(not editable),and second one will show only users data.(editable)

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

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

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables