Skip to content

Add some documentation for how to add / update grid fields from an add-on #858

@jcogs-design

Description

@jcogs-design

Suggested Change
Add some documentation / examples relating to how you might add / update a grid field from an add-on (outside of CP).

Reasoning
Documentation is currently mute on this.

Additional context
Seems odd that the grid field is relegated to the depths of legacy code.
It appears that a grid field can be created by "making" a new instance of Channel Field of type 'grid' - but how do you access / add columns to the definition?
I note that Datagrab (for example) interacts with Grid fields seemingly entirely via direct db access.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions