logo
search
SharePoint Document Issues

How to Restore SharePoint Edit in Grid View Button

Muhammad TalhaMuhammad Talha Oct 9, 2026 869 views

Question details

The user wants to restore the 'Edit in grid view' button to the main SharePoint toolbar after it was moved to the three-dot overflow menu.

How to Restore the SharePoint Edit in Grid View Toolbar Button
Product
Microsoft SharePoint
Device & OS
not provided
Scenario
Customizing the SharePoint document library toolbar to improve workflow efficiency and quick access to grid editing.
Observed behavior
The 'Edit in grid view' command is hidden inside the three-dot menu instead of being immediately visible on the main toolbar.
Before you start

Ensure you have the necessary 'Edit' permissions to modify views in the SharePoint document library and have basic familiarity with JSON formatting.

Solution 1Recommended

Use View-Formatting JSON to Reposition the Button

Apply a custom JSON script in the Advanced mode to move the 'Edit in grid view' command back to the Primary section of the toolbar.

Since SharePoint does not provide a native drag-and-drop feature to customize this specific toolbar button, you must use view-formatting JSON to override the default layout.

1
Open View Formatting

Click on the view menu (usually displaying 'All Documents' in the top right corner of your document library), and select 'Format current view'.

2
Access Advanced Mode

At the bottom of the formatting pane, click on 'Advanced mode' to input custom code.

3
Apply JSON Code

Input the JSON code that targets the command bar, placing the 'editInGridView' command in the 'Primary' section and setting its 'hide' attribute to 'false'. Save your changes.

Use View-Formatting JSON to Reposition the Button
No Drag-and-Drop Supported: SharePoint currently restricts rearranging toolbar items via drag-and-drop, making this JSON method the only viable workaround.
Free Microsoft Office alternative

Edit Downloaded Documents Seamlessly with WPS Office

While SharePoint handles your cloud document storage, WPS Office offers a free, lightweight, and fast alternative for editing your downloaded Word, Excel, and PowerPoint files locally with maximum format compatibility.

  1. 1. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
  2. 2. Install the Software: Run the downloaded installer and follow the on-screen prompts to set up WPS Office on your device.
  3. 3. Open Your Documents: Launch WPS Office and seamlessly open any documents downloaded from SharePoint for immediate offline editing.
Highly compatible with Microsoft Office formats (.docx, .xlsx, .pptx) downloaded from SharePoint.Familiar, intuitive user interface that requires no learning curve.Free and lightweight, avoiding heavy system resource usage while boosting productivity.All-in-one suite combining Writer, Spreadsheet, Presentation, and PDF tools in a single window.
microsoft office alternative - wps office

Frequently Asked Questions

Can I drag and drop the 'Edit in grid view' button back to the main toolbar?

No, SharePoint currently does not support drag-and-drop customization for the command toolbar. You must use view-formatting JSON to rearrange the commands.

Do I need admin rights to use JSON formatting in SharePoint?

You need at least 'Edit' permissions on the specific document library to change the view formatting and save it for all users accessing that view.

Will this JSON customization affect other document libraries?

No, view formatting is applied strictly to the specific view of the document library where you added the JSON code. Other libraries and views will remain unchanged.