2.3.1 • Published 5 months ago

volto-data-grid-widget v2.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

volto-data-grid-widget

Widget for data grid fields

Install with mrs-developer (see Volto docs) or with:

yarn add volto-data-grid-widget

Features

This addon will add in your project the Widget to edit Data Grid fields.

It displays fields based on field schema.

Field schema example

{
  fieldsets: [
    {
      id: 'default',
      title: 'Default',
      fields: ['person', 'email', 'phone'],
    },
  ],
  properties: {
    person: {
      title: 'Person',
      widget: 'object_browser',
      mode: 'link',
      allowExternals: false,

      widgetOptions: {
        pattern_options: {
          selectableTypes: ['Persona'],
          maximumSelectionSize: 1,
        },
      },
    },
    email: { title: 'E-mail', type: 'email' },
    phone: { title: 'Phone' },
  },
  required: [],
};

Other options

These options can be added in the frontendOptions of the widget when defining the schema in the backend.

OptionDefault value
allow_deletetrue
allow_inserttrue
allow_reorderfalse
2.3.1

5 months ago

2.3.0

5 months ago

2.2.1

9 months ago

2.2.0

10 months ago

2.2.3

7 months ago

2.2.2

7 months ago

2.1.0

1 year ago

2.0.0

1 year ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago