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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (2,032)