Methods
-
-
添加数据
Parameters:
Name |
Type |
Description |
strLabel |
String
|
名称 |
strPic |
ImageProp
|
图片路径 |
Uuid |
Number
|
传入id |
bAdd |
Boolean
|
true为可添加false为不可添加 |
bCheckBox |
Boolean
|
true为可多选false为不可多选 |
-
-
按索引获取Id
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
Returns:
Number
-
-
根据Id获取索引
Parameters:
Name |
Type |
Description |
Uuid |
Number
|
|
Returns:
Number
-
-
按索引获取名称
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
Returns:
String
-
-
选中获取索引
Returns:
Number
-
-
选中获取Id
Returns:
Number
-
-
按索引是否为添加
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
Returns:
Boolean
-
-
按索引是否为可选
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
Returns:
Boolean
-
-
清除所有
-
-
按索引删除
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
|
-
-
按索引设置为添加
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
bAdd |
Boolean
|
true为可添加false为不可添加 |
Properties:
Name |
Type |
Description |
bAddByIndex |
Collection
|
[-1,true] |
-
-
设置所有为可添加
Parameters:
Name |
Type |
Description |
bAdd |
Boolean
|
true为可添加false为不可添加 |
-
-
设置所有为多选
Parameters:
Name |
Type |
Description |
bCho |
Boolean
|
true为可多选false为不可多选 |
-
-
按索引修改Id
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
Uuid |
Number
|
|
-
-
按索引修改一项
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
strLabel |
String
|
名称 |
strPic |
ImageProp
|
图片路径 |
Uuid |
Number
|
传入Id |
bAdd |
Boolean
|
true为可添加false为不可添加 |
bCheckBox |
Boolean
|
true为可多选false为不可多选 |
-
-
按索设置名称
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
strLabel |
String
|
名称 |
Properties:
Name |
Type |
Description |
LabelByIndex |
Collection
|
[-1,""] |
-
-
按索引设置为可选
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
bCho |
Boolean
|
true为可多选false为不可多选 |
Properties:
Name |
Type |
Description |
bMulChoiceByIndex |
Collection
|
[-1,true] |
-
-
设置开启多选
Parameters:
Name |
Type |
Description |
bChoice |
Boolean
|
|
-
-
按索引设置背景图片
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从0开始 |
strPic |
ImageProp
|
图片路径 |
-
-
根据Id设置选中
Parameters:
Name |
Type |
Description |
Uuid |
Number
|
|
-
-
K)
按索引设置选中
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引从零开始 |
Properties:
Name |
Type |
Description |
SelectItemIndex |
Number
|
1 |