cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
reddyapps
Level: Powered On

Can we customize 'No items to display' text for form when there is no data

hi,

i have a form, that shows data by filtering another field from different table. So if there is no match found, it just displays the default 'No items to display' text. Can we remove that and show our customized text ?

3 REPLIES 3
Super User
Super User

Re: Can we customize 'No items to display' text for form when there is no data

Unfortunately, there isn't a way to customize that text. Something you might try would be to have a hidden text label that is visible only when the form would be blank that covers up the area for the default text. For instance, if you use a LookUp to define the item for the form you could check to see if the LookUp is blank like so:

// OnVisible property of the text label
IsBlank( LookUp(...) )

 

You could also submit an idea for allowing that text to be changed. I'd vote for it! And if you could use some help with implementing my proposed solution, I'd be happy to assist. 

K-A-R-L
Level 10

Re: Can we customize 'No items to display' text for form when there is no data

Hi @reddyapps ,


I think that is a default of a Form and there's no OOTB setting to change it. Please correct me if I'm wrong.

As a workaround, you can try adding a label outside the form that covers/overlays the "No items to display" Text. (Please make sure the label.Fill color is the same as your Form.Fill color)

Set the label visibility to:

I'm not sure what your code is so

 

If( there is no match found on your filter, true, false) or
If(!IsBlank(DataCardValue.Text), true, false)

 

Just play with the codes. Best of luck.

 

Thanks,
K-A-R-L


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team
Community Support Team

Re: Can we customize 'No items to display' text for form when there is no data

Hi @reddyapps ,

I'm afraid it's not supported to customize "No item to display" in PowerApps currently.

It's set by default.

I suggest you express your views on PowerApps Ideas Forum. Your precious advice will be very helpful for our work.

https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

As an alternative way, you could set the form invisiable when there's no item match and set something you want to display visible.

For example, set the form's Visible:

If(IsEmpty(Form1.Item),false,true)

Inset a label, set its Text: "try another way to match"

                     set its Visible: If(IsEmpty(Form1.Item),true,false)

Then, when there's no match item, the form will disappear and the label that you customize will appear.

 

Best regards,

Community Support Team _ Phoebe Liu

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 281 members 3,340 guests
Please welcome our newest community members: