I have a repeating panel were I do searchs and display the results there, how could I use a button to clear the table before a new search?
You set the items in a repeating panel by using something like self.repeating_panel_1.items = whatever
. For a search, whatever
is a search iterator or a list of dictionaries. You can just as easily set it to an empty list, []
, to clear the contents of the repeating panel.
5 Likes
Hi @davidgrimm95! If @jshaffstall’s answer solved your issue, can you mark his response as the solution (by clicking the dots menu, then Solution)? That way if others are searching the forum for a similar issue, they’ll see that it’s been solved!
2 Likes