web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

when I click on the text box the previous value must be clear in accordance to set a new value

(0) ShareShare
ReportReport
Posted on by 365
  • 5238.pastedimage1610361981433v1.png
  •  I want to clear the previous value to set a new value, So when am I clicking on the text box to change the value then the previous value must clear so that I can easily change the value using javascript
I have the same question (0)
  • Suggested answer
    Roberto Ilidio Profile Picture
    on at

    Hi,

    Could you please provide more details on what exaclty are you trying to achieve?

    I would say that method gridContext.getGrid().getSelectedRows() can help on this.

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/grids/grid/getselectedrows 

  • unbeatable Profile Picture
    365 on at

    can you please demonstrate with an example similar to that

  • unbeatable Profile Picture
    365 on at
    [quote user="Roberto Ilidio"]

    Hi,

    Could you please provide more details on what exaclty are you trying to achieve?

    I would say that method gridContext.getGrid().getSelectedRows() can help on this.

    https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/grids/grid/getselectedrows 

    [/quote]

    I want to clear the text when I click into the box so that a dropdown will appear, Now I am doing clicking into the box then pressing backspace to clear the text then my dropdown is appearing so I have to change this when I clicking on that box the text might clear by itself so that I can easily change my value through dropdown

    Screenshot 1: when I click on the text box, the text is there and my dropdown is not opening 

    5732.pastedimage1610434661709v1.png

    Screenshot 2: when I click backspace to clear the text then my dropdown is opening

    8267.pastedimage1610434780047v2.png

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 76

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans