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 ?
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.
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.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
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:
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.
Community Support Team _ Phoebe Liu
Fill out a quick form to claim your user group badge now!
Find out where you can attend!
Features releasing from October 2019 through March 2020
Learn how to build the business apps that you need.