ASP. Aries JSAPI Document Description: Ar.datagrid, AR. Dictionary

Source: Internet
Author: User

Ar. Global Document 1: Objects or properties:

Name

Type

Description

Dg

Object

DataGrid Action Object

The DataGrid collection, which takes the DataGrid object out of the ID and uses the JSON as an array.

Items:new $Core. Dictionary (),

The DataGrid object for the current operation

Operating:null,

Current page DataGrid operation with a value of Update,add

Action:null,

Default Pkcolumn object supported style templates

Pktemplate: {

Edit: ' <a class= "BJ" title= "editor" op= "1" ></a> ",

Del: ' <a class= ' sc ' title= ' delete ' ></a> ',

Detail: ' <a class= "ckxq" title= "View Details" op= "0" ></a> ",

Picture: ' <a class= ' cktp "title=" View image "op=" 0 "></a>",

Download: ' <a class= "xz" title= "Download" op= "0" ></a> ",

Save: ' <a class= ' BC ' title= ' save ' op= ' 0 ' ></a> ',

File: ' <a class= ' WJ "title=" Files "op=" 0 "></a>",

Save: ' <a class= ' BC ' title= ' save ' op= ' 0 ' ></a> ',

Upload: ' <a class= ' BC ' title= ' upload ' op= ' 0 ' ></a> ',

Remove: ' <a class= "SC" title= "remove" op= "0" ></a> "

}

Route

Property

{root: ' ajax.html '}

Themes

Property

[' Default ', ' black ', ' gray ', ' metro ']

Comboxdata

Property

Archive objname data for drop-down numbers

Config

Property

Archive data for Config_keyvalue tables

Variable

Property

{ui: "", Actionkeys: "", Mid: ""}

UI (path to the virtual application), Actionkeys (the page corresponding permission set), Mid (current menu ID)

GetUser

Method

A callback function is required for the first (index.html) call:

Ar. Global.getuser (function (data) {});

After:

var user= AR. Global.getuser ();//Can.

AR. Dictionary custom Health Values array:

name /p>

type

length

Properties

length

Set

Method

Function (key, value)

Remove

Method

function (key)

 

 

Value:

This[key]

ASP. Aries JSAPI Documentation Description: Ar.datagrid, AR. Dictionary

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.