There is an official Sanity table plugin for Sanity Studio v3. If you're using Studio v3, please consider using the official plugin instead.
Forked form rdunk/sanity-plugin-table.
Install using the Sanity CLI.
$ npm i sanity-plugin-another-table
Simply specify table
as a field type in your schema.
export default {
name: 'product',
title: 'Product',
type: 'document',
fields: [
{
name: 'sizeChart',
title: 'Size Chart',
type: 'table',
},
],
};