Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Disable shortcut keyboard on grid

(0) ShareShare
ReportReport
Posted on by 163

When I clicked on shift+down shortcut in keyboard new line created even if I set allow create to false 

How can I disable this action ?

these two lines created because of shortcut 

////

  • Menna Allah Ahmed Profile Picture
    Menna Allah Ahmed 163 on at
    Disable shortcut keyboard on grid
    because I don't want them to create lines I need to stop this action 
  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,979 Super User 2025 Season 1 on at
    Disable shortcut keyboard on grid
    Hi Menna,
     
    Is there an actual issue when users create multiple records at a time? Why do you want to restrict a standard behavior of the grid control in Dynamics 365?
  • Menna Allah Ahmed Profile Picture
    Menna Allah Ahmed 163 on at
    Disable shortcut keyboard on grid
    Hi Martin , 
    Thanks for replying but I tried already to search about that where it set to true but I can't find any think , can you tell me in which method should I set it to false 
  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 230,848 Most Valuable Professional on at
    Disable shortcut keyboard on grid
    It seems to me that you ignore the logic that Microsoft has in this form. Please open code of ProjAdjustment and find all places where tmpProjAdjustmentCreate_ds.allowCreate() is called.
     
    Then consider how you want to change the logic, according to your business requirements. Or, if you think that the standard logic doesn't work as it should, report the bug to Microsoft.
     
    Note that the data source is set with AllowCreate = No by default. If you want to have it always disabled, regardless of the standard logic, you just need to deal with the few places where allowCreate is set to true.
  • Menna Allah Ahmed Profile Picture
    Menna Allah Ahmed 163 on at
    Disable shortcut keyboard on grid
  • Menna Allah Ahmed Profile Picture
    Menna Allah Ahmed 163 on at
    Disable shortcut keyboard on grid
    I tried it on extension of active method and create methods on table data source 
    on active I set allow create to false 
    and on create I passed false value 
  • Martin Dráb Profile Picture
    Martin Dráb 230,848 Most Valuable Professional on at
    Disable shortcut keyboard on grid
    Where did you try to disable record creation? I suspect it's not been done correctly.

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

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans