cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DAVIDPOWELL
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
eka24
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
eka24
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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Carousel April Dunnam Updated 768x460.jpg

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors
Users online (2,915)