Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Focus changed after saving updates

(0) ShareShare
ReportReport
Posted on by 144

Hello,

I have a custom form with a header and lines, for example, 1 header has 3 lines. Then I focus on the 3d line, change it, and save it. After saving, the system automatically changes focus to 1st line.

Is it possible to prevent that?

I do not have any executeQuery or refresh in code of form that might cause that.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Focus changed after saving updates

    Hi Partner,

    Maybe you need use setFocus() fuction in js code to achieve it:

    https://docs.microsoft.com/en-us/power-apps/developer/model-driven-apps/clientapi/reference/controls/setfocus 

  • Hidden developer Profile Picture
    Hidden developer 144 on at
    RE: Focus changed after saving updates

    I mean I would like the focus to stay on the 3d line.

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.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,419 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,492 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans