CrudParams
With the 'CrudParams' section, you will be able to configure and build a set of crud components.
Fields
A CrudParams contains the following fields to be defined:
Controls
The list of control information which will be used to render ui form controls.
Requirements Rules:
- Must haven't duplicated control properties;
- Each control on list must follows rules as specified in Control
Example:
1 2 3 4 5 6 |
|
Filter
The properties which will be used to render the filter-component. The filter-component is a simple form component which emits a filter-request when the form is submitted.
Requirements Rules:
- Is Required;
- Must follows rules as specified in Filter-Component
Example:
1 2 3 4 5 6 7 8 9 |
|
Grid
The properties which will be used to render the grid-component. The grid-component is a simple component which renders a list of objects in a table from a custom-made source. The component allows sorting and a few extra actions per register (Edit / Remove).
Requirements Rules:
- Is Required;
- Must follows rules as specified in Grid-Component
Example:
1 2 3 4 5 6 7 8 9 10 11 12 |
|
EditForm
The properties which will be used to render the register form-component. The register form-component allows you to register a new entity, delete and even change it's data, the validation rules can be linked to existing entity-validations at business model.
Requirements Rules:
- Is Required;
- Must follows rules as specified in Edit-Form-Component
Example:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
|