Index + CRUD Views

A master view can expose any or all of these routes. Each is configured automatically within defaults() if the associated class attribute is true:

The “index” view shows a “grid” by default. Whereas each of the 4 CRUD views will show a “form” (readonly or editable). See also Grids and Forms.

If the view’s data model is a typical mapped class, the default CRUD logic may suffice. Otherwise, and sometimes for a mapped class, you may need to provide some of the CRUD logic.

Attributes to Override

You can set these attributes to control basic CRUD features:

Model

Config Prefixes (see also Config Prefixes)

Feature Flags

Grid Config

Form Config

Methods to Override

Here are some methods you may need to override for the CRUD features:

Fetching Data

Grid Handling

Form Handling

Creating

Viewing

Editing

Deleting