ASP. NET Aries DataGrid configuration table header instructions, ariesdatagrid

Source: Internet
Author: User

ASP. NET Aries DataGrid configuration table header instructions, ariesdatagrid
DataGrid configuration Header

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.