Methods
-
-
获取行背景色
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
行的index |
Returns:
String
-
-
行是否显示
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
行的下标 |
Returns:
Boolean
-
-
科学计数法显示
Parameters:
Name |
Type |
Description |
bScientificNotation |
Boolean
|
是否是科学计数法 |
nNum |
Number
|
精度 |
-
-
背景颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
背景颜色 |
Properties:
Name |
Type |
Description |
BgColor |
Color
|
"0xffff0000" |
-
-
背景图片
Parameters:
Name |
Type |
Description |
strImage |
ImageProp
|
|
Properties:
Name |
Type |
Description |
BgImage |
ImageProp
|
"" |
-
-
下边框
Parameters:
Name |
Type |
Description |
nWidth |
Number
|
宽度 |
strType |
String
|
类型 |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
BottomBorder |
Collection
|
[1,"solid","0x4d9cdcfe"] |
-
-
某一列颜色
Parameters:
Name |
Type |
Description |
nIndex |
Number
|
索引 |
strColor |
String
|
颜色 |
-
-
列的内边距
Parameters:
Name |
Type |
Description |
nPad |
Number
|
边距 |
Properties:
Name |
Type |
Description |
ColumnPadding |
Number
|
10 |
-
-
行数和列数
Parameters:
Name |
Type |
Description |
arrColumn |
Array
|
列 |
arrRow |
Array
|
行 |
-
-
数据的文字颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
DataColor |
Color
|
"0xff92b0b3" |
-
-
某行设置数据,适用一行对应一组数据的情况
Parameters:
Name |
Type |
Description |
nRowIndex |
Number
|
行下标 |
nColumnIndex |
Number
|
列下标 |
arrData |
Array
|
数据数组 |
-
-
所有文字大小
Parameters:
Name |
Type |
Description |
nSize |
Number
|
大小 |
Properties:
Name |
Type |
Description |
DataSize |
Number
|
16 |
-
-
使用颜色绘制
Parameters:
Name |
Type |
Description |
bDrawColor |
Boolean
|
使用颜色绘制 |
Properties:
Name |
Type |
Description |
DrawColor |
Boolean
|
true |
-
-
第一个单元格颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
FirstCellColor |
Color
|
"0xffffffff" |
-
-
第一列颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
FirstColumnColor |
Color
|
"0xff1cd1b9" |
-
-
标题背景色
Parameters:
Name |
Type |
Description |
strColor |
String
|
背景色 |
bShowBorder |
Boolean
|
显示边框 |
strBorderColor |
String
|
边框色 |
-
-
表头行文字颜色
Parameters:
Name |
Type |
Description |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
HearderColor |
Color
|
"0xffffffff" |
-
-
左边框
Parameters:
Name |
Type |
Description |
nWidth |
Number
|
宽度 |
strType |
String
|
类型 |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
LeftBorder |
Collection
|
[1,"solid","0xff9cdcfe"] |
-
-
设置数据个数
Parameters:
Name |
Type |
Description |
nCount |
Number
|
数据个数 |
-
-
圆角
Parameters:
Name |
Type |
Description |
nRadius |
Number
|
半径 |
Properties:
Name |
Type |
Description |
Radius |
Number
|
5 |
-
-
右边框
Parameters:
Name |
Type |
Description |
nWidth |
Number
|
宽度 |
strType |
String
|
类型 |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
RightBorder |
Collection
|
[1,"solid","0xff9cdcfe"] |
-
-
行背景色
Parameters:
Name |
Type |
Description |
arrBgColor |
Array
|
背景色 |
bShowBorder |
Boolean
|
显示边框 |
strBorderColor |
String
|
边框色 |
-
-
标题
Parameters:
Name |
Type |
Description |
arrTitle |
Array
|
标题 |
-
-
上边框
Parameters:
Name |
Type |
Description |
nWidth |
Number
|
宽度 |
strType |
String
|
类型 |
strColor |
String
|
颜色 |
Properties:
Name |
Type |
Description |
TopBorder |
Collection
|
[1,"solid","0x4d9cdcfe"] |
-
-
加入数据
Parameters:
Name |
Type |
Description |
strElement |
String
|
tooltip根元素标签id |
nDataIndex |
Number
|
下标 |
-
-
设置行显示隐藏
Parameters:
Name |
Type |
Description |
nRowIndex |
Number
|
行的下标 |
bShow |
Boolean
|
是否显示 |