How to Restore SharePoint Edit in Grid View Button
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.

- 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.
Ensure you have the necessary 'Edit' permissions to modify views in the SharePoint document library and have basic familiarity with JSON formatting.
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.
Click on the view menu (usually displaying 'All Documents' in the top right corner of your document library), and select 'Format current view'.
At the bottom of the formatting pane, click on 'Advanced mode' to input custom 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.

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. Download WPS Office: Visit the official WPS website and download the free installation package for your operating system.
- 2. Install the Software: Run the downloaded installer and follow the on-screen prompts to set up WPS Office on your device.
- 3. Open Your Documents: Launch WPS Office and seamlessly open any documents downloaded from SharePoint for immediate offline editing.

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.




