The previous page: Attribute types in the meta class
Meta view - allows to set the desired attribute composition of the class to display on the form according to the view form (list view - list.json, create view - create.json, edit view - item.json) and to specify the overridden and (or) complemented properties for each individual attribute in the meta class of this attribute.
Meta view can be divided into two forms:
- List view
- Create and edit view
List view - allows to display the class objects in the form of a list.
{
"columns": [...],
"styles": {},
"actions": null,
"commands": [...],
"allowSearch": false,
"pageSize": null,
"useEditModels": true,
"version": null,
"overrideMode": null,
"filterDepth": 3
}
Field | Name | Acceptable values | Description |
---|---|---|---|
"columns" |
Columns | Array of objects | Columns of class attributes, described the attribute part of the meta view. |
"styles" |
Highlight color lines | Formula | In accordance with the terms of the formula, the columns in the table are colored in the specified color. |
"actions" |
Actions | Integer or Null | not used in current version |
"commands" |
Commands | Array of objects | The set of object operations. |
"allowSearch" |
Search is available | Boolean | Allows or denies displaying the search form. |
"pageSize" |
Number of object per page | Integer positive | Specifies the number of objects on a single page by default. |
"useEditModels" |
Edit form for detalization | Boolean | Allows or denies the use of the edit form for data detalization of a class object. |
"version" |
Version | String | Metaversion of data. |
"overrideMode" |
Override mode | 0 - Overlap | Sets the override mode of the views. |
1 - Override | |||
"filterDepth" |
Filter query depth in lists | Integer positive | Filter query depth in lists of objects. It equals 2, by default. |
Create and edit view - allows to create and edit the class objects.
{
"tabs": [
{
"caption": "",
"fullFields": [...],
"shortFields": []
}
],
"actions": null,
"commands": [...],
"siblingFixBy": null,
"siblingNavigateBy": null,
"historyDisplayMode": 0,
"collectionFilters": null,
"version": null,
"overrideMode": null
}
Field | Name | Acceptable values | Description |
---|---|---|---|
"tabs" |
Tabs | Object | Allows you to create many pages of objects on the same view form. |
"caption" |
Tabs name | String | The name of the "tabs" field will be displayed in the tab page. |
"fullFields" |
Firld in the full form | Array of objects | The "tabs " field, the array contains the attributes that should be displayed in the full form, described according to the attribute part of the meta view. |
"shortFields" |
Firld in the short form | Array of objects | The "tabs " field, the array contains the attributes that should be displayed in the short form, described according to the attribute part of the meta view. |
"actions" |
Actions | Integer or Null | not used in current version |
"commands" |
Commands | Array of objects | The set of object operations. |
"siblingFixBy" |
Selection of sibling objects | Array of strings | Enumeration of the attributes of the collection, that will be used to select sibling objects. |
"siblingNavigateBy" |
Transition to sibling objects | Array of strings | Enumeration of the attributes of the collection, that will be used to transition the sibling objects. |
"historyDisplayMode" |
History display | Integer | Specify the disply format of the history of object modifications. |
"collectionFilters" |
Collection filters | Array of objects | Select attributes from collections to filter. |
"version" |
Version | String | Metaversion of data. |
"overrideMode" |
Override mode | 0 - Overlap | Sets the override mode of the views. |
1 - Override |
The next page: Meta view - attribute part
Copyright (c) 2018 LLC "ION DV".
All rights reserved.