cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kaswiere
Microsoft
Microsoft

Refresh Data Table

I have a data table that is filtered based on data entered in a Search text box. If no data is entered in the text box all the data from the data source is shown.  When data is entered the data table is filtered based on that data.  The data table Items property is set to Search(datasource, TextBox.Text, col1, col2, col3).  

 

Users can delete rows from this data table.  When they do I want to clear out the Text box and refresh the data table.  Since the text box is cleared, all the data from the data source should appear in the data table.  I do a Reset to clear the TextBox.  When I do the reset, it clears out the data table and doesn't show any data.  After the reset I want the data table to show all the rows in the data source like it does when the Text box is empty when the data table is first display.

 

Any ideas on how to do this?

4 REPLIES 4
WarrenBelz
Super User
Super User

Hi @kaswiere ,

What is the Items property of your gallery?

kaswiere
Microsoft
Microsoft

I am using a DataTable, not a gallery.  The data table Items property is set to Search(datasource, TextBox.Text, col1, col2, col3).  

Hi @kaswiere ,

These controls (Data Tables) behave quite differently to galleries and there are a lot of things that are not possible to do in them (which are easily done in a gallery). I suspect this is just another example.

WarrenBelz
Super User
Super User

Hi @kaswiere ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Super User 2 - 2022 Congratulations

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (4,015)