I have a table, with the dynamic data coming from database. Now i deleted the database data.I wrote a condition like, if the rows length is 0 then it should display a message.But intially when i am loading the page the header of the table is displaying and the row length is 3 eben after deleting the data.Again when the page is refreshed i see the message what i want.
So can u please tell me how to get rid of the intial 3 rows???
You can use the remove() function.
It returns a Promise that resolves to the removed item after it has been removed from the specified collection.
The Promise is rejected if the current user does not have delete permissions for the collection.
learn more about remove function here: wix-data - Velo API Reference - Wix.com