FAQs
Simple Grid can be defined as a column in a Grid field. The native Grid field can not be nested inside of itself. Simple Grid saves its data as a JSON object, thus there is no complicated data storage model, which means it can easily be nested inside of Grid, Bloqs, or Fluid.
Simple Grid only has Text, Textarea, File, Toggle, Date, and URL fields.
See the previous question. Simple Grid is just that, its a simplified version of the Grid field and it will not support all fieldtypes.
Remember, this is Simple Grid. Adding options for each column goes beyond the scope of Simple Grid.
Not at this time. A fieldtype must meet the following conditions to be supported by Simple Grid:
- 1.Save data as a string. No complicated data such as arrays.
- 2.Be able to function with out any field or column settings.
- 3.Be easy to add to the codebase and easy to maintain.
This isn't to say additional fieldtypes won't be supported, but they will be very, very carefully reviewed before support is added.
Short answer, you don't. There is no API to add column types. Long answer, if you wanted to add support and send us a diff of the changes we'll review them. Also see the previous question about adding new fieldtypes.
Yes you can. Columns are saved in the JSON with IDs, so you can rename or reorder them (this was a limitation of the old Nolan fieldtype).
Sort of. When you create a Simple Table field you can enter the value of the first row of columns as a starting point. This value will pre-populate when the field loads in the entry publish page, however, the user can change or remove the values since all table cells are textarea fields.
As many as you want.
Last modified 9mo ago