How to add custom columns with sorting and reordering to Sanity document list view?
You can definitely add more columns to your Sanity Studio document lists! The Structure Builder API gives you the foundation for customizing document views, but for a full table view with customizable columns, sorting, and bulk actions, you'll want to use a dedicated plugin.
The Sanity Bulk Actions Table plugin is exactly what you're looking for. It's a powerful table view plugin that provides:
- Customizable columns - Add fields like ID, category, date published, status, and any other fields from your schema
- Column management - Drag to reorder columns and show/hide columns as needed
- Sorting capabilities - Sort by different columns
- Bulk actions - Perform actions on multiple documents at once
- Better content management - Much more useful than just image and title for managing large amounts of content
To install it, run:
npm i sanity-plugin-bulk-actions-tableThe plugin was forked from the earlier "super-pane" plugin by @ricokahler and is maintained by ContentWrap. You can find the full documentation on GitHub and the NPM package page.
This should give you the spreadsheet-like view you need for more efficient content management. The plugin integrates with your existing schema, so you can expose whatever fields your editors need to see and work with at a glance.
Show original thread4 replies
Sanity β Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.