❓ Create a dynamic table without using an RG

Hello,

Since all the community is really powerful I thought to come back with a question I had few years ago and it´s: ¿Is there any way to have a dynamic table without using a Repeating Group like the one in this https://jsfiddle.net/tb1xjpuu/ provided by @tonyklar ?

The case scenario is an invoicing app that has many invoice items (lines) each one with amount, price, net, tax, …

I´m actually using a repeating group with loads of input fields in each row but to save the data I need to save it live and since bubble´s performance is still not really good I would love to have the chance to create a dynamic table and save all the table data after a “send button” on the page.

Also another issue that I´m facing using RG is that when I want to edit an invoice line´s I need to create all the RG items on page load so I don´t touch the already saved data. With the ability to save all the invoice items when pressing a save button in a page all of this would be resolved.

Hope this makes sense since I´m pretty bad at explaining all this things.

Thanks a lot everyone and have a good day.

Hey @ryanck! Great question, and a good thought process.

I have a couple ideas as to how this could be solved. However, none of them would include not using repeating groups at all.

My first idea, and one I would probably personally use, is have a repeating group display all of the already made work orders, and inside of that obviously a repeating group for your line items. I would then create a group underneath that repeating group, which would show/hide whenever you pressed the new item button, and just make it appear as if it fits in with the repeating group, however is a separate element. I don’t know if you have already tried something like that, but I personally think this would be a good solution. I am at work currently, so I am not able to throw together a demonstration currently, but if you would like to see one, I could create a quick replica of the site you already made when I get home around 1:00 PM Eastern.

All of the other idea’s I had passed as I was writing that first one, but I do think that the solution I gave would be the best option, if you were looking to use bubble for this sort of interface.

But, to answer your question about dynamic tables without repeating groups, as far as I know, that is not a native Bubble option. Might be some plugins out there though, or I am wrong and there is. Who knows. The best part about the Bubble community is that someone will jump on here and correct me if I am mistaken!

Hello @draked123,

Thanks for your help. The problem is that you´ve to edit the database record right when you edit a field because if not you won´t be able to save all the edited values inside the repeating group.

Hope that makes sense. Let me know.

And thanks a lot for going through this threat.

Ahh I see. This honestly still wouldnt be that difficult with auto-binding if what I’m thinking works out. I’ll be home soon and be able to actually play on the editor and see what I can come up with.

I could be, and probably am, completely wrong though haha. And the problem would become scaleability.