Disable double click on list item which opens default edit list form

Patil, Harish 21 Reputation points
2025-06-17T06:08:15.7+00:00

Hi All,

 

I am using SharePoint online list. I want to disable double click on list item as this open SharePoint default edit form.

Currently we are developed Canvas power apps on the same list. Also we have given access to list to open that form through hyperlink column. But user double click on list item it open defaults SharePoint edit form.

How to disable double click on list item which opens default edit list form.

 

Thanks,

harish Patil

 

Microsoft 365 and Office | SharePoint | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jayden-P 13,020 Reputation points Microsoft External Staff Moderator
    2025-06-17T09:51:31.9366667+00:00

    Hi @Patil, Harish

    Thank you for posting your question in the Microsoft Q&A forum. 

    Based on the information you have provided, looks like you want to disable double click feature in SharePoint Online. 

    In SharePoint, the double-click behavior on a list row is a built-in feature that automatically opens the item’s edit form. This behavior is "by design" and cannot be disabled or customized using JSON formatting or HTML-based methods.  

    This limitation exists because SharePoint’s JSON formatting is strictly declarative, it allows for styling and configuring UI elements but does not support scripting or event handling (such as JavaScript). As a result, native browser or SharePoint events like double-clicks cannot be intercepted or overridden.  

    For more details, refer to the following official Microsoft resources:  

    Use view formatting to customize SharePoint | Microsoft Learn   

    The workaround is you can create a button to open the app with a single click on it. 

    If you think this feature can be handy for you and colleagues, please provide your valuable ideas via Ideas · Community 

    Our dev team will listen and consider making it a feature in the future. Any ideas will be appreciated. 

    Thank you for your understanding. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  

    User's image


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.