I have data table control and it will retrieve the data from my collection. Till now it's fine. Now I want to make the data table empty without using any other controls like a button, or trash icon. Is there any possibility of using the direct function to make the data table empty?
As an example with using a variable. Have a button with:
OnSelect = UpdateContext({ showTable: !showTable })
Then update the data table with:
Items = If (showTable, colEmployeeRegistration )