-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Special Cells #21
Comments
Yep, I could do with this too. We have a client who has lots of complex tables for organising data such as this one. We are building them a new site and they need table functionality that matches their existing CMS (magento). So this would require table headers, and portable text possibility. Tables are a common requirement for lots of content types so I was surprised that Sanity didn't have something out of the box. |
+1 - why was this removed from v2? We want to have certain cells be links, would really love to have this included |
Even just the ability to assign a row as a |
A second thought would be a checkbox which allowed the first row to be a header, and a checkbox for first column. I'll do this by wrapping the table in a document/object but it would be nicer if it was part of the actual component |
@Designer023 You can create an object with a table field, then make whatever fields in the object you want. I used the table type directly and am now stuck without the ability to create settings fields, etc. Now my question is if I can migrate that data without manually editing thousands of cell records. More about this here: #19 |
It'd be great to have row headers, column headers and footer row(s).
Sure, most general CMS use cases should avoid using tables; but there are cases when it's inevitable.
Our use case for example is to have a Sanity Document type that represents a contract template. Non-Disclosure Agreements, Framework Agreements, etc. and all this multi-lingually. In such use cases it's better to have an
Array<block|table>
where table accepts headings.I can imagine a lot of different use cases for such tables but hey, up to you folks ¯_(ツ)_/¯
The text was updated successfully, but these errors were encountered: