Hello guys,
Is it possible that when I click the edit button only the dropdown inline will be visible
I have this onselect: UpdateContext({Dropdown:true})
and dropdown visible: Dropdown=true
Solved! Go to Solution.
Hi @nagestiada ,
The easiest way is to create a column in your data source.
For example:
Create a Yes/No column.
Add add a button control to set its onselect property to:
If(IsBlank(ThisItem.Test),Patch(LIST4,ThisItem,{Test:true}),Patch(LIST4,ThisItem,{Test:!(LookUp(LIST4,ID=ThisItem.ID).Test)}))
Set the DisplayMode property of control to:
If(ThisItem.Test=true,DisplayMode.Edit,DisplayMode.View)
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.
Hi @nagestiada ,
I don't quite understand your needs.
Could you provide more information to explain your requirement?
Best Regards,
Wearsky
I am trying to create an editable table but I want the user to have the power to choose what rows he/she wants to edit, so I will be having a button on each row of the gallery and when the user click the button it will enable the edit of the dropdown and when the button is clicked again it will be disabled.
I also whant if ThisItem.Category = Remarks then textinput will appear and ThisItem.Category ="Suggestion" then dropdown will show on new value column when the edit button is clicked
Hi @nagestiada ,
The easiest way is to create a column in your data source.
For example:
Create a Yes/No column.
Add add a button control to set its onselect property to:
If(IsBlank(ThisItem.Test),Patch(LIST4,ThisItem,{Test:true}),Patch(LIST4,ThisItem,{Test:!(LookUp(LIST4,ID=ThisItem.ID).Test)}))
Set the DisplayMode property of control to:
If(ThisItem.Test=true,DisplayMode.Edit,DisplayMode.View)
Best Regards,
Wearsky
If my post helps, then please consider Accept it as the solution to help others. Thanks.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
200 | |
69 | |
50 | |
46 | |
20 |
User | Count |
---|---|
258 | |
121 | |
84 | |
79 | |
69 |