In preview mode, it removes the current row however, it is not removed from app data, so when the page refreshes it returns? any ideas?
is it a bug or am i just removing the information in that specific box in the table?
It’d be helpful to get a bit more info as your application and setup seem to be setup correctly. Are you doing anything with states on your page? What is your table’s data source? Any plugins involved?
The Table element is still in active public beta, so it’s always possible it’s a bug, but let’s try and narrow it down first-
No plugins involved but i do have custom states.
On my navigation bar/header, i have it so that when a user clicks on quotes, they get sent to another page along with a parameter to trigger a custom state which makes the table visible.
I’m assuming its only temporarily deleting the current row because its open as a custom state.
If you are using states as a data source for your group:
Try adding another step to your delete icon workflow, ‘Set State of an element’ - choose the state that holds the content the group is showing, choose the same state, and for Value of that state, input the same state, but at the end ‘Minus: Current Cell’s Thing’ (or whichever option makes the most sense for how your table is laid out). This will remove that particular row or item from the state.
If you aren’t, something else to try: I imaging the group is showing a list of things attached to a parent thing? If so, in the workflow, instead of setting a state, you would add a workflow step where you remove This Row’s Thing from the parent thing.
I know elements can act funky in Bubble, but I didn’t think privacy rules since it disappears from the RG. Do you think it’s removing from the RG, but privacy rules prevent the actual thing from being deleted from the DB, which is why it re-populates on a page refresh?
The current set up is as follows.
A requested quote data fileld, with fields such as users involved, procedure etc.
Users involved containt the current user as well as the clinic pages creator where you can request a quote.
I attempted setting up some privacy rules however i didn’t really see anything which allows for the removal of ‘requested quotes’ or the data field in general.
I tested out deleting the row in a repeating group instead of a table element and added an icon with a workflow to delete the current row, no issues here.
Concluding that it is without a doubt a bug. The tabel element is most likely temporarily removing the data from the table but not the database. I already made a bug report but if anyone can pass this on to a member of the team it would be even better.
Here is a workaround that is useful in several cases with new Table Element :
Instead of refering to “current row’s” thing, create a group inside your cell. This group has “current row’s” thing as a Data Source.
And then, inside this group, put your Text/icons/workflows, and they’ll refer to “Parent group’s” thing.