UiPath apps display condition

Hi, I have one scenario where I want to display a table value only when the button(show details button) is clicked. How to write a rule for this? please suggest.

Hello @Nisha_K21

This thread might help address your issue.

@pradeep931 The above thread didn’t helped me.
I wanted to know how to show table or container (which is hidden at the beginning)once the button is clicked

Hi Nisha

You need to have a few actions in Apps, I would suggest the following.

On page load set a boolean variable to True
On the event of the click of a button change the boolean variable to false
And use the boolean variable in the hidden property of the table, or the container the table is stored in.

1 Like

Hi @Nisha_K21,

Try This Solution:

  1. Create one boolean type variable as var_visibility.
  2. On the main page go to create rule and use set value. Give the “item to set” as var_visibility and the “value” as true.
  3. Click on your respective table go to display property, there on the hidden option give value as var_visibility.
  4. Now go to your specific button where you want to click create a rule. use set value and give item to set as var_visibility as false.

This will make initially table content hidden and once you click the button it will show the details of the table.

Hope this will help!!

1 Like

Thanks for all the help!!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.