cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Post Prodigy
Post Prodigy

disable dropdown based on Column value in table while scrolling

I have a screen with a table tbl_Tasks

I have a dropdown  dwn_Change_Status.

I have a Column Called  Status in tbl_tasks.

 

What I need:

While scroll through the rows in tbl_Tasks.

If the Value in the Status Column  =  "Open" disable the dropdown "dwn_Change_Status"

 

Thanks

Dave

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

In the displaymode of the dropdown;

If(Self.SelectedText.Value = "Open", DisplayMode.Disabled, DisplayMode.Edit)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

7 REPLIES 7
Super User III
Super User III

In the displaymode of the dropdown;

If(Self.SelectedText.Value = "Open", DisplayMode.Disabled, DisplayMode.Edit)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

@eka24 

 

what is "self" referring to ?  Self.SelectedText.Value

dave

It a function referring to the your dropdown in question.

Any feedback  after you used the Formula

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

@eka24 

Thanks, got it.

 

will your statement work with the following statement i already have ?

 

If (CountRows( Filter('[dbo].[t_nsc_trackcode_assigned_DataEntry_pa]',ID_Racfid = lbl_Racfid_ms.Text) ) > 0, DisplayMode.Edit, Disabled)

 

 

You have not said anything whether it worked or not. Is this a new question?

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

sorry, yes that works fine..

Dave

Please if it worked, mark it. Then post a new request and explain further how you want it

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (20,815)