Field |
Chinese |
Description |
Field |
Field |
Note: The fields starting with mg _ are hierarchical headers. |
Title |
Column name |
|
OrderNum |
Serial number |
Display Order (frozen and non-frozen columns are serial numbers of two groups) |
Width |
Column width |
Set the width (the last field is invalid when the adaptive screen is used) The attribute of dg. options. fitColumns is determined (true by default) |
Align |
Alignment |
Drop-down values: Left, center, and right |
Frozen |
Freeze |
Freeze columns on the left (A group) and non-freeze columns on the right (another group ). |
Edit |
Edit |
Editable columns when in-row editing is enabled |
Sortable |
Sort |
Click whether to sort the title |
Hidden |
Hide |
Do not display fields (if you need to return this data to the interface, set Formatter #) |
Search |
Search |
Displayed in the search tool Area |
Export |
Export |
Export data (if you need to export the level header, the level header should also be checked) |
Import |
Import |
Single Table import, check this (Excel advanced import function for multi-Table import) |
ImportUnique |
Unique |
Single-Table import, set as a column with unique conditions (used to determine the conditions for update or insertion) |
Rules |
Format rules |
All append attributes to input: Width, height, title, pattern, etc. Non-drop-down: $1: {name1: "value1", name2: "value2 "} Drop-down box: $2: {name1: "value1", name2: "value2" |
Formatter |
Format |
1: # output value (when this field is hidden but data is required) 2: # NAME (corresponding to the configuration key maintained in the Config_KeyValue configuration table) 3: # C _ name (corresponding to the SQL statement name configured in the SQL _combox. SQL file) 4: xxx (js function name, which must exist in html) Function xxx (value, row, index) {return value ;} The built-in formatting functions include: DateFormatter, BoolFormatter, StringFormatter For data formatted with 2 (ConfigKey) and 3 (ObjName), you can use: Dg. Formatter. onAfterExecute = function (configKey, value, row, index) {return value ;} |
Styler |
Style Functions |
Corresponding to Styler usage of EasyUI (format the background color of the column) |
Editor |
Edit function |
Corresponds to the Editor usage of EasyUI (custom editing mode for in-line editing) |
Rowspan |
Cross-row |
Automatic Algorithm calculation (so no configuration is required) |
Colspan |
Cross-Column |
Specify multiple columns (hidden or starting with mg _ is not counted) |
LastEditTime |
Update Time |
Time when the archive is updated |
DataType |
Type | length | precision | required |
These conditions are used for data verification in the query box. |