Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Unanswered

Focus changed after saving updates

Posted on by 140

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 140 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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,570 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,683 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans