cpr.data.header.Header
Index
Name |
Type |
Description |
info |
String |
Returns the column information value. |
Properties
deprecated2018.11.05 API unification work. Please use setInfo.
type
|
String |
get
|
Returns the column information value.
|
set
|
Sets the column information value.
|
Methods
Returns the column type.
return
|
HeaderType |
column type
cpr.data.header.HeaderType.ORIGINAL_COLUMN : Manage the original value and the current value separately, and when the value of the corresponding column is changed, the row state is affected.
cpr.data.header.HeaderType.DISPLAY_COLUMN : It has only the current value and does not affect the row state when the value of the corresponding column is changed.
|
Returns the data type.
return
|
DataType |
data type.
cpr.data.tabledata.DataType.STRING = "string";
cpr.data.tabledata.DataType.NUMBER = "number";
cpr.data.tabledata.DataType.DECIMAL = "decimal";
cpr.data.tabledata.DataType.EXPRESSION = "expression";
|
Returns the column information value.
return
|
String |
Information value. |
Returns all custom attribute names.
return
|
String[] |
An array of all custom attribute names. |
Delete all custom attributes.
Removes user-defined attributes for a specific attribute name.
name |
type |
description |
key
|
String |
The custom attribute name to remove. |
Sets the column information value.
name |
type |
description |
info
|
String |
Information value to set |
Specifies custom properties.
name |
type |
description |
key
|
String |
The attribute name to assign |
value
|
String |
The attribute value to specify. |
Returns a user-defined property.
name |
type |
description |
key
|
String |
The attribute name to get. |
return
|
String |
Custom properties. |
Specify multiple custom properties at once.
name |
type |
description |
values
|
{[key:string]: String} |
A JSON object containing custom attribute keys/values. |
Get all custom properties in the form of a map.
return
|
{[key:string]: String} |
|