Announcements
Hi
I have an edit icon, that I want user to click and show datacard 1 and 2 for edit , otherwise it should be in view mode
HOw to do it? Thanks
hi @bbsin create a variable to hold the display mode and toggle it based on the user's selection.
Variable - UpdateContext({_CardMode: DisplayMode.View})
Icon OnSelect - UpdateContext({_CardMode:If(_CardMode = DisplayMode.Edit, DisplayMode.View,DisplayMode.Edit)})
Set the card's dosplay mode to the variable (_CardMode)
Hope this helps
hi @rubin_boer
Do you mean
i select the icon onSelect = UpdateContext({_CardMode: DisplayMode.View})
and the datacard DisplayMOde = UpdateContext({_CardMode:If(_CardMode = DisplayMode.Edit, DisplayMode.View,DisplayMode.Edit)})
? Thanks
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
11manish 352 Super User 2026 Season 2
M Bilal Khan 323
Mohsin Ali 226