ASP. Aries DataGrid Configuration Header Description Document

Source: Internet
Author: User

DataGrid Configuration table Header

Field

Chinese

Description

Field

Field

Note: The field beginning with Mg_ is a hierarchical header

Title

The column says

Ordernum

Serial number

The order of display (frozen and unfrozen columns are ordinal numbers of two groups)

Width

Column width

The width of the setting (the last field in the adaptive screen is not valid)

Dg.options.fitColumns Property Decision (default True)

Align

Snap To

Drop-down values: left-aligned, centered, right-aligned

Frozen

Frozen

Freeze columns on the left (one set), non-frozen columns on the right (another set).

Edit

Edit

Editable columns when inline editing is turned on

Sortable

Sort

Whether to sort by clicking on the title

Hidden

Hide

Do not display the field (if you want the data to return to the interface, configure formatter to #)

Search

Search

Display in the Search tool area

Export

Export

Export data (if you need to export the level header, the level header will also tick)

Import

Import

Single-table import, tick this (multi-table import with Excel advanced Import function)

Importunique

Only

Single-table import, a column set to a unique condition (used to determine whether the condition is updated or inserted)

Rules

Formatting rules

is to append attributes to input:

Width,height, title, pattern, etc.

Non-drop-down:

$1:{NAME1: "Value1", Name2: "Value2"}

Drop-down box:

$: {name1: "value1", Name2: "value2"

Formatter

Formatting

1:# output value (when the field is hidden but data is required)

2: #名称 (configuration key for Config_keyvalue configuration table maintenance)

3: #C_名称 (The SQL statement name that corresponds to the Sql_combobox.sql file configuration)

4:xxx (JS function name, the function needs to exist in HTML)

function xxx (value, row, index) {return value;}

The format functions that the system comes with are:

Dateformatter,

Boolformatter,

Stringformatter

for 2 (Configkey) and 3 (objname) formatted data, if two processing is required (for example, plus links, etc.), you can:

Dg. Formatter.onafterexecute=function (Configkey, value, row, index) {return value;}

Styler

Style functions

Styler usage of the corresponding EASYUI (formatted column background color)

Editor

Edit function

Editor usage for Easyui (custom rendering editing in inline editing)

Rowspan

Cross-line

Algorithm automatic calculation (so no configuration required)

Colspan

Cross-column

Specify to span several columns (hidden or mg_ that begin without counting)

Lastedittime

Update Time

Time to archive updates

DataType

Type | length | precision | required

These conditions are used to validate the data in the query box.

ASP. Aries DataGrid Configuration Header Description Document

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.