# GC.Data

## Content

# Namespace: Data

[GC](GC).Data

## Table of contents

### Enumerations

- [RowColumnStates](../enums/GC.Data.RowColumnStates)
- [StateRuleDirection](../enums/GC.Data.StateRuleDirection)
- [ViewArea](../enums/GC.Data.ViewArea)

### Classes

- [DataManager](../classes/GC.Data.DataManager)
- [Table](../classes/GC.Data.Table)
- [View](../classes/GC.Data.View)

### Interfaces

- [IRelationship](../interfaces/GC.Data.IRelationship)
- [ITables](../interfaces/GC.Data.ITables)
- [IViews](../interfaces/GC.Data.IViews)
- [RowFormulaRule](../interfaces/GC.Data.RowFormulaRule)

### Type aliases

- [AverageRuleOptions](GC.Data#averageruleoptions)
- [AverageType](GC.Data#averagetype)
- [ButtonListOptions](GC.Data#buttonlistoptions)
- [CellButtonOptions](GC.Data#cellbuttonoptions)
- [CellValueComparisonOperator](GC.Data#cellvaluecomparisonoperator)
- [CellValueRuleOptions](GC.Data#cellvalueruleoptions)
- [CellValueType](GC.Data#cellvaluetype)
- [CheckboxOptions](GC.Data#checkboxoptions)
- [ColorPickerGroup](GC.Data#colorpickergroup)
- [ColorPickerOptions](GC.Data#colorpickeroptions)
- [ColorString](GC.Data#colorstring)
- [ColumnBindingInfo](GC.Data#columnbindinginfo)
- [ColumnType](GC.Data#columntype)
- [ComboBoxOptions](GC.Data#comboboxoptions)
- [CornerFold](GC.Data#cornerfold)
- [CustomCellTypeOptions](GC.Data#customcelltypeoptions)
- [DataBarAxisPosition](GC.Data#databaraxisposition)
- [DataBarRuleDirection](GC.Data#databarruledirection)
- [DataBarRuleNegativeOptions](GC.Data#databarrulenegativeoptions)
- [DataBarRuleOptions](GC.Data#databarruleoptions)
- [DateOccurringRuleOptions](GC.Data#dateoccurringruleoptions)
- [DateOccurringType](GC.Data#dateoccurringtype)
- [DateTimePickerOptions](GC.Data#datetimepickeroptions)
- [DateValidatorOptions](GC.Data#datevalidatoroptions)
- [Decoration](GC.Data#decoration)
- [DropDownOptions](GC.Data#dropdownoptions)
- [DuplicateRuleOptions](GC.Data#duplicateruleoptions)
- [ErrorStyle](GC.Data#errorstyle)
- [FileUploadOptions](GC.Data#fileuploadoptions)
- [FormulaListValidatorOptions](GC.Data#formulalistvalidatoroptions)
- [FormulaRule](GC.Data#formularule)
- [FormulaRuleOptions](GC.Data#formularuleoptions)
- [FormulaString](GC.Data#formulastring)
- [FormulaValidatorOptions](GC.Data#formulavalidatoroptions)
- [GradientFillOptions](GC.Data#gradientfilloptions)
- [GradientPathFillOptions](GC.Data#gradientpathfilloptions)
- [GradientStop](GC.Data#gradientstop)
- [HeaderStyleOptions](GC.Data#headerstyleoptions)
- [HierarchyCustomParseHandler](GC.Data#hierarchycustomparsehandler)
- [HierarchyCustomUnparseHandler](GC.Data#hierarchycustomunparsehandler)
- [HighlightStyle](GC.Data#highlightstyle)
- [HyperlinkOptions](GC.Data#hyperlinkoptions)
- [IColumn](GC.Data#icolumn)
- [IColumnCollection](GC.Data#icolumncollection)
- [ICrossAttributeOptions](GC.Data#icrossattributeoptions)
- [ICrossOptions](GC.Data#icrossoptions)
- [ICrossViewOptions](GC.Data#icrossviewoptions)
- [IDataSourceOption](GC.Data#idatasourceoption)
- [IFormulaCollection](GC.Data#iformulacollection)
- [IHierarchyCustomParseOptions](GC.Data#ihierarchycustomparseoptions)
- [IHierarchyCustomUnparseOptions](GC.Data#ihierarchycustomunparseoptions)
- [IHierarchyOption](GC.Data#ihierarchyoption)
- [IHierarchyOutlineColumnOptions](GC.Data#ihierarchyoutlinecolumnoptions)
- [IHierarchySummaryFieldCollection](GC.Data#ihierarchysummaryfieldcollection)
- [ILookupOptions](GC.Data#ilookupoptions)
- [IOutlineColumnOptions](GC.Data#ioutlinecolumnoptions)
- [IRemoteFetchOption](GC.Data#iremotefetchoption)
- [IRemoteReadRequestOption](GC.Data#iremotereadrequestoption)
- [IRemoteRequestOption](GC.Data#iremoterequestoption)
- [IRemoteTransportOption](GC.Data#iremotetransportoption)
- [ISchemaOption](GC.Data#ischemaoption)
- [ITriggerFormulaOption](GC.Data#itriggerformulaoption)
- [Icon](GC.Data#icon)
- [IconCriteriaOptions](GC.Data#iconcriteriaoptions)
- [IconOptions](GC.Data#iconoptions)
- [IconSetRuleOptions](GC.Data#iconsetruleoptions)
- [IconSetType](GC.Data#iconsettype)
- [IconValueType](GC.Data#iconvaluetype)
- [ItemOptions](GC.Data#itemoptions)
- [LabelOptions](GC.Data#labeloptions)
- [LineBorder](GC.Data#lineborder)
- [ListItem](GC.Data#listitem)
- [ListLayout](GC.Data#listlayout)
- [ListOptions](GC.Data#listoptions)
- [ListString](GC.Data#liststring)
- [ListValidatorOptions](GC.Data#listvalidatoroptions)
- [MaskType](GC.Data#masktype)
- [MonthPickerOptions](GC.Data#monthpickeroptions)
- [MultiColumnOptions](GC.Data#multicolumnoptions)
- [NumberValidatorOptions](GC.Data#numbervalidatoroptions)
- [PatternFillOptions](GC.Data#patternfilloptions)
- [RadioButtonCheckboxListOptions](GC.Data#radiobuttoncheckboxlistoptions)
- [RemoteChangeHandler](GC.Data#remotechangehandler)
- [RemoteReadHandler](GC.Data#remotereadhandler)
- [ScaleValueType](GC.Data#scalevaluetype)
- [SliderOptions](GC.Data#slideroptions)
- [SparklineRuleOptions](GC.Data#sparklineruleoptions)
- [SpecificTextComparisonOperator](GC.Data#specifictextcomparisonoperator)
- [SpecificTextRuleOptions](GC.Data#specifictextruleoptions)
- [StateRule](GC.Data#staterule)
- [StyleOptions](GC.Data#styleoptions)
- [StyleRule](GC.Data#stylerule)
- [StyleRules](GC.Data#stylerules)
- [TextDecoration](GC.Data#textdecoration)
- [TextLengthString](GC.Data#textlengthstring)
- [TextLengthValidatorOptions](GC.Data#textlengthvalidatoroptions)
- [ThreeScaleRuleOptions](GC.Data#threescaleruleoptions)
- [TimePickerOptions](GC.Data#timepickeroptions)
- [TimePickerValue](GC.Data#timepickervalue)
- [TimeValidatorOptions](GC.Data#timevalidatoroptions)
- [Top10RuleOptions](GC.Data#top10ruleoptions)
- [Top10Type](GC.Data#top10type)
- [TwoScaleRuleOptions](GC.Data#twoscaleruleoptions)
- [UniqueRuleOptions](GC.Data#uniqueruleoptions)
- [ViewOptions](GC.Data#viewoptions)
- [WorkFlowItem](GC.Data#workflowitem)
- [WorkFlowOptions](GC.Data#workflowoptions)

## Type aliases

### <a id="averageruleoptions" name="averageruleoptions"></a> AverageRuleOptions

Ƭ **AverageRuleOptions**: `Object`

**`property`** {"averageRule"} ruleType - 若要使用平均值规则，需指定此规则类型。

**`property`** {GC.Data.AverageType} type - 平均值类型。

**`property`** {GC.Data.StyleOptions} style - 当条件满足时应用于单元格的样式。

**`property`** {number} priority - 规则的优先级。

**`property`** {boolean} stopIfTrue - 在应用此规则前是否应用优先级较低的规则。

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `priority` | `number` | 规则的优先级。 |
| `ruleType` | ``"averageRule"`` | 若要使用平均值规则，需指定此规则类型。 |
| `stopIfTrue` | `boolean` | 在应用此规则前是否应用优先级较低的规则。 |
| `style` | [`StyleOptions`](GC.Data#styleoptions) | 当条件满足时应用于单元格的样式。 |
| `type` | [`AverageType`](GC.Data#averagetype) | 平均值类型。 |

___

### <a id="averagetype" name="averagetype"></a> AverageType

Ƭ **AverageType**: ``"above"`` \| ``"below"`` \| ``"equalOrAbove"`` \| ``"equalOrBelow"`` \| ``"above1StdDev"`` \| ``"below1StdDev"`` \| ``"above2StdDev"`` \| ``"below2StdDev"`` \| ``"above3StdDev"`` \| ``"below3StdDev"``

**`description`** 平均值类型。

___

### <a id="buttonlistoptions" name="buttonlistoptions"></a> ButtonListOptions

Ƭ **ButtonListOptions**: `Object`

**`property`** {string} type - 单元格类型的类型，支持 "buttonList"。

**`property`** {GC.Data.ItemOptions[]} items - 获取或设置 buttonList 列表的项目，支持对象数组，每个项目包含 text 和 value。

**`property`** {string} direction - 获取或设置 buttonList 列表的排列方向，支持 "horizontal"、"vertical"。

**`property`** {number} maxColumnCount - 获取或设置 buttonList 列表项目的列数。

**`property`** {number} maxRowCount - 获取或设置 buttonList 列表项目的行数。

**`property`** {boolean} isFlowLayout - 获取或设置 buttonList 列表的布局是否自动适应。

**`property`** {Object} itemSpacing - 获取或设置 buttonList 中两个项目之间的间距。

**`property`** {number} itemSpacing.horizontal - 水平方向上两个项目之间的间距。

**`property`** {number} itemSpacing.vertical - 垂直方向上两个项目之间的间距。

**`property`** {string} selectedBackColor - 获取或设置选中 buttonList 项目的背景色。

**`property`** {string} selectedForeColor - 获取或设置选中 buttonList 项目的前景色。

**`property`** {string} padding - 获取或设置 buttonList 相对于单元格的内边距（像素）。

**`property`** {string} selectionMode - 获取或设置 buttonList 的选择模式，支持 "single"、"multiple"。

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `direction?` | ``"horizontal"`` \| ``"vertical"`` | 获取或设置 buttonList 列表的排列方向，支持 "horizontal"、"vertical"。 |
| `isFlowLayout?` | `boolean` | 获取或设置 buttonList 列表的布局是否自动适应。 |
| `itemSpacing?` | { `horizontal`: `number` ; `vertical`: `number`  } | 获取或设置 buttonList 中两个项目之间的间距。 |
| `itemSpacing.horizontal` | `number` | - |
| `itemSpacing.vertical` | `number` | - |
| `items` | [`ItemOptions`](GC.Data#itemoptions)[] | 获取或设置 buttonList 列表的项目，支持对象数组，每个项目包含 text 和 value。 |
| `maxColumnCount?` | `number` | 获取或设置 buttonList 列表项目的列数。 |
| `maxRowCount?` | `number` | 获取或设置 buttonList 列表项目的行数。 |
| `padding?` | `string` | 获取或设置 buttonList 相对于单元格的内边距（像素）。 |
| `selectedBackColor?` | `string` | 获取或设置选中 buttonList 项目的背景色。 |
| `selectedForeColor?` | `string` | 获取或设置选中 buttonList 项目的前景色。 |
| `selectionMode?` | ``"single"`` \| ``"multiple"`` | 获取或设置 buttonList 的选择模式，支持 "single"、"multiple"。 |
| `type` | ``"buttonList"`` | 单元格类型的类型，支持 "buttonList"。 |

___

### <a id="cellbuttonoptions" name="cellbuttonoptions"></a> CellButtonOptions

Ƭ **CellButtonOptions**: `Object`

**`property`** {string} position - 按钮在单元格中的位置，支持 "left"、"right"、"leftOfText"、"rightOfText"。

**`property`** {boolean} useButtonStyle - 单元格按钮是否使用按钮样式，默认值为 false。

**`property`** {boolean} enabled - 单元格按钮是否响应用户操作，默认值为 true。

**`property`** {number} width - 按钮宽度。若设置为 null 或 undefined，按钮宽度将根据标题和图像大小自动适应。

**`property`** {string} caption - 按钮显示的文本。

**`property`** {string} imageSrc - 当 imageType 为 custom 时，可通过 imageSrc 指定图片（base64）。

**`property`** {Object} imageSize - 图片尺寸，使用对象格式 {width: 16, height: 16}，默认值为 16px * 16px。

**`property`** {number} imageSize.width - 图片宽度。

**`property`** {number} imageSize.height - 图片高度。

**`property`** {string} captionAlign - 图片和标题的对齐方式，支持 "left"、"right"。

**`property`** {string | Function} command - 点击按钮时，允许用户执行命令或自定义回调函数。

**`property`** {string} imageType - 按钮类型（按钮中显示的图像类型）。为单元格按钮提供了一些预定义类型，custom 允许指定自定义图标。
支持 "none"、"custom"、"clear"、"cancel"、"ok"、"dropdown"、"ellipsis"、"left"、"right"、"plus"、"minus"、"undo"、"redo"、"search"、"separator"、"spinLeft"、"spinRight"、"collapse"、"expand"。

**`property`** {string} visibility - 按钮的可见性设置，可以是 "always"、"onSelected"、"onEditing"，默认值为 "always"。

**`property`** {string} hoverBackColor - 按钮可见且启用时，单元格按钮的悬停背景色。

**`property`** {string} buttonBackColor - 按钮启用时，单元格按钮的背景色。

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `buttonBackColor?` | `string` | 当按钮启用时的背景颜色 |
| `caption?` | `string` | 按钮显示的文本 |
| `captionAlign?` | ``"left"`` \| ``"right"`` | 图片和标题的对齐方式，支持"left"(左对齐)、"right"(右对齐) |
| `command?` | `string` \| (`sheet`: `any`, `row`: `number`, `col`: `number`, `option`: `any`) => `void` | 点击按钮时，允许用户执行命令或自定义回调函数 |
| `enabled?` | `boolean` | 单元格按钮是否响应用户操作，默认值为true |
| `hoverBackColor?` | `string` | 当按钮可见且启用时，鼠标悬停状态下的背景颜色 |
| `imageSize?` | { `height`: `number` ; `width`: `number`  } | 图片尺寸，使用对象格式{width: 16, height: 16}，默认值为16px * 16px |
| `imageSize.height` | `number` | - |
| `imageSize.width` | `number` | - |
| `imageSrc?` | `string` | 当imageType为custom时，可通过imageSrc指定图片(使用base64格式) |
| `imageType?` | ``"none"`` \| ``"custom"`` \| ``"clear"`` \| ``"cancel"`` \| ``"ok"`` \| ``"dropdown"`` \| ``"ellipsis"`` \| ``"left"`` \| ``"right"`` \| ``"plus"`` \| ``"minus"`` \| ``"undo"`` \| ``"redo"`` \| ``"search"`` \| ``"separator"`` \| ``"spinLeft"`` \| ``"spinRight"`` \| ``"collapse"`` \| ``"expand"`` | 按钮类型(按钮中显示的图像类型)。为单元格按钮提供了一些预定义类型，custom允许指定自定义图标 |
| `position?` | ``"left"`` \| ``"right"`` \| ``"leftOfText"`` \| ``"rightOfText"`` | 按钮在单元格中的位置，支持"left"(左)、"right"(右)、"leftOfText"(文本左侧)、"rightOfText"(文本右侧) |
| `useButtonStyle?` | `boolean` | 单元格按钮是否使用按钮样式，默认值为false |
| `visibility?` | ``"always"`` \| ``"onSelected"`` \| ``"onEditing"`` | 按钮的可见性设置，可以是"always"(始终可见)、"onSelected"(选中时可见)、"onEditing"(编辑时可见)，默认值为"always" |
| `width?` | `number` | 按钮宽度。若设置为null或undefined，按钮宽度将根据标题和图像大小自动适应 |

___

### <a id="cellvaluecomparisonoperator" name="cellvaluecomparisonoperator"></a> CellValueComparisonOperator

Ƭ **CellValueComparisonOperator**: ``"equalsTo"`` \| ``"notEqualsTo"`` \| ``"greaterThan"`` \| ``"greaterThanOrEqualsTo"`` \| ``"lessThan"`` \| ``"lessThanOrEqualsTo"`` \| ``"between"`` \| ``"notBetween"``

**`description`** 单元格值比较运算符。

___

### <a id="cellvalueruleoptions" name="cellvalueruleoptions"></a> CellValueRuleOptions

Ƭ **CellValueRuleOptions**: `Object`

**`property`** {"cellValueRule"} ruleType - 若要使用单元格值规则，需指定此规则类型。

**`property`** {GC.Data.CellValueComparisonOperator} comparisonOperator - 单元格值的比较运算符。

**`property`** {GC.Data.CellValueType} value1 - 第一个值。

**`property`** {GC.Data.CellValueType} value2 - 第二个值。

**`property`** {GC.Data.StyleOptions} style - 当条件满足时应用于单元格的样式。

**`property`** {number} priority - 规则的优先级。

**`property`** {boolean} stopIfTrue - 在应用此规则前是否应用优先级较低的规则。

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `comparisonOperator` | [`CellValueComparisonOperator`](GC.Data#cellvaluecomparisonoperator) | 单元格值的比较运算符。 |
| `priority` | `number` | 规则的优先级。 |
| `ruleType` | ``"cellValueRule"`` | 若要使用单元格值规则，需指定此规则类型。 |
| `stopIfTrue` | `boolean` | 在应用此规则前是否应用优先级较低的规则。 |
| `style` | [`StyleOptions`](GC.Data#styleoptions) | 当条件满足时应用于单元格的样式。 |
| `value1` | [`CellValueType`](GC.Data#cellvaluetype) | 第一个值。 |
| `value2` | [`CellValueType`](GC.Data#cellvaluetype) | 第二个值。 |

___

### <a id="cellvaluetype" name="cellvaluetype"></a> CellValueType

Ƭ **CellValueType**: `number` \| `string` \| `boolean` \| `Date` \| [`FormulaString`](GC.Data#formulastring)

**`description`** 单元格值类型。

___

### <a id="checkboxoptions" name="checkboxoptions"></a> CheckboxOptions

Ƭ **CheckboxOptions**: `Object`

**`property`** {string} type - 单元格类型，支持"checkbox"(复选框)

**`property`** {string} caption - 标题文本

**`property`** {string} textTrue - 单元格值为true时显示的文本

**`property`** {string} textIndeterminate - 单元格值为不确定状态时显示的文本

**`property`** {string} textFalse - 单元格值为false时显示的文本

**`property`** {string} textAlign - 文本相对于复选框的对齐方式，支持"top"(顶部)、"bottom"(底部)、"left"(左侧)、"right"(右侧)

**`property`** {boolean} isThreeState - 复选框是否支持三态

**`property`** {number} boxSize - 复选框大小

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `boxSize?` | `number` | 复选框大小 |
| `caption?` | `string` | 标题文本 |
| `isThreeState?` | `boolean` | 复选框是否支持三态 |
| `textAlign?` | ``"top"`` \| ``"bottom"`` \| ``"left"`` \| ``"right"`` | 文本相对于复选框的对齐方式，支持"top"(顶部)、"bottom"(底部)、"left"(左侧)、"right"(右侧) |
| `textFalse?` | `string` | 单元格值为false时显示的文本 |
| `textIndeterminate?` | `string` | 单元格值为不确定状态时显示的文本 |
| `textTrue?` | `string` | 单元格值为true时显示的文本 |
| `type` | ``"checkbox"`` | 单元格类型，支持"checkbox"(复选框) |

___

### <a id="colorpickergroup" name="colorpickergroup"></a> ColorPickerGroup

Ƭ **ColorPickerGroup**: `Object`

**`property`** {string} name - 分组名称

**`property`** {string[][]} colors - 分组颜色（二维数组）

**`property`** {boolean} needScaleColor - 是否生成渐变色分组

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `colors` | `string`[][] | 分组颜色（二维数组） |
| `name` | `string` | 分组名称 |
| `needScaleColor` | `boolean` | 是否生成渐变色分组 |

___

### <a id="colorpickeroptions" name="colorpickeroptions"></a> ColorPickerOptions

Ƭ **ColorPickerOptions**: `Object`

**`property`** {number} colorBlockSize - 每个颜色单元格的尺寸

**`property`** {GC.Data.ColorPickerGroup[]} groups - 颜色选择器的分组，每个分组包含一个分组名称（name）和一个颜色数组（colors）作为该分组的颜色集合

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `colorBlockSize` | `number` | 每个颜色单元格的尺寸 |
| `groups` | [`ColorPickerGroup`](GC.Data#colorpickergroup)[] | 颜色选择器的分组，每个分组包含一个分组名称（name）和一个颜色数组（colors）作为该分组的颜色集合 |

___

### <a id="colorstring" name="colorstring"></a> ColorString

Ƭ **ColorString**: `string`

**`description`** 字符串类型的颜色。

___

### <a id="columnbindinginfo" name="columnbindinginfo"></a> ColumnBindingInfo

Ƭ **ColumnBindingInfo**: `Object`

**`property`** {string} name - 通过名称绑定的数据列

**`property`** {string} displayName - 此列的显示名称

**`property`** {string} formatter - 此列的格式化器

**`property`** {number | string} size - 列的尺寸

**`property`** {boolean} visible - 列的可见性

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `displayName?` | `string` | 此列的显示名称 |
| `formatter?` | `string` | 此列的格式化器 |
| `name` | `string` | 通过名称绑定的数据列 |
| `size?` | `number` \| `string` | 列的尺寸 |
| `visible?` | `boolean` | 列的可见性 |

___

### <a id="columntype" name="columntype"></a> ColumnType

Ƭ **ColumnType**: ``"Number"`` \| ``"Text"`` \| ``"Formula"`` \| ``"Checkbox"`` \| ``"Date"`` \| ``"Currency"`` \| ``"Percent"`` \| ``"Phone"`` \| ``"Email"`` \| ``"URL"`` \| ``"Lookup"`` \| ``"CreatedTime"`` \| ``"ModifiedTime"`` \| ``"Attachment"`` \| ``"Select"`` \| ``"Barcode"``

___

### <a id="comboboxoptions" name="comboboxoptions"></a> ComboBoxOptions

Ƭ **ComboBoxOptions**: `Object`

**`property`** {string} type - 单元格类型，支持"combobox"(组合框)

**`property`** {string} editorValueType - 编辑器值类型，支持"text"(文本)、"index"(索引)、"value"(值)

**`property`** {string[] | GC.Data.ItemOptions[]} items - 选项列表，支持字符串数组或包含text和value属性的对象数组

**`property`** {number} itemHeight - 每个选项的高度

**`property`** {number} maxDropDownItems - 下拉列表每页显示的最大选项数

**`property`** {boolean} editable - 组合框是否可编辑

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `editable?` | `boolean` | 组合框是否可编辑 |
| `editorValueType?` | ``"text"`` \| ``"index"`` \| ``"value"`` | 编辑器值类型，支持"text"(文本)、"index"(索引)、"value"(值) |
| `itemHeight?` | `number` | 每个选项的高度 |
| `items` | `string`[] \| [`ItemOptions`](GC.Data#itemoptions)[] | 选项列表，支持字符串数组或包含text和value属性的对象数组 |
| `maxDropDownItems?` | `number` | 下拉列表每页显示的最大选项数 |
| `type` | ``"combobox"`` | 单元格类型，支持"combobox"(组合框) |

___

### <a id="cornerfold" name="cornerfold"></a> CornerFold

Ƭ **CornerFold**: `Object`

**`property`** {number} size - 边角折叠的尺寸

**`property`** {string} position - 边角折叠的位置，支持"leftTop"(左上)、"rightTop"(右上)、"leftBottom"(左下)、"rightBottom"(右下)

**`property`** {string} color - 边角折叠的颜色

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `color?` | `string` | 边角折叠的颜色 |
| `position?` | ``"leftTop"`` \| ``"rightTop"`` \| ``"leftBottom"`` \| ``"rightBottom"`` | 边角折叠的位置，支持"leftTop"(左上)、"rightTop"(右上)、"leftBottom"(左下)、"rightBottom"(右下) |
| `size?` | `number` | 边角折叠的尺寸 |

___

### <a id="customcelltypeoptions" name="customcelltypeoptions"></a> CustomCellTypeOptions

Ƭ **CustomCellTypeOptions**: `Object`

**`property`** {string} typeName - 自定义单元格类型的类型名称。

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `typeName` | `string` | 自定义单元格类型的类型名称。 |

___

### <a id="databaraxisposition" name="databaraxisposition"></a> DataBarAxisPosition

Ƭ **DataBarAxisPosition**: ``"automatic"`` \| ``"cellMidPoint"`` \| ``"none"``

**`description`** 数据条规则轴位置。

___

### <a id="databarruledirection" name="databarruledirection"></a> DataBarRuleDirection

Ƭ **DataBarRuleDirection**: ``"leftToRight"`` \| ``"rightToLeft"``

**`description`** 数据条规则方向。

___

### <a id="databarrulenegativeoptions" name="databarrulenegativeoptions"></a> DataBarRuleNegativeOptions

Ƭ **DataBarRuleNegativeOptions**: `Object`

**`property`** {GC.Data.ColorString} negativeFillColor - 负值填充颜色

**`property`** {boolean} useNegativeFillColor - 是否使用负值填充颜色来绘制负值

**`property`** {GC.Data.ColorString} negativeBorderColor - 负值边框颜色

**`property`** {boolean} useNegativeBorderColor - 是否使用负值边框颜色来绘制负值边框

**`property`** {GC.Data.ColorString} axisColor - 数据条的轴线颜色

**`property`** {GC.Data.DataBarAxisPosition} axisPosition - 数据条的轴线位置

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `axisColor` | [`ColorString`](GC.Data#colorstring) | 数据条的轴线颜色 |
| `axisPosition` | [`DataBarAxisPosition`](GC.Data#databaraxisposition) | 数据条的轴线位置 |
| `negativeBorderColor` | [`ColorString`](GC.Data#colorstring) | 负值边框颜色 |
| `negativeFillColor` | [`ColorString`](GC.Data#colorstring) | 负值填充颜色 |
| `useNegativeBorderColor` | `boolean` | 是否使用负值边框颜色来绘制负值边框 |
| `useNegativeFillColor` | `boolean` | 是否使用负值填充颜色来绘制负值 |

___

### <a id="databarruleoptions" name="databarruleoptions"></a> DataBarRuleOptions

Ƭ **DataBarRuleOptions**: `Object`

**`property`** {"dataBarRule"} ruleType - 若要使用数据条规则，需指定此规则类型

**`property`** {GC.Data.ScaleValueType} minType - 最小刻度类型

**`property`** {number} minValue - 最小刻度值

**`property`** {GC.Data.ScaleValueType} maxType - 最大刻度类型

**`property`** {number} maxValue - 最大刻度值

**`property`** {GC.Data.ColorString} maxColor - 最大刻度颜色字符串

**`property`** {number} priority - 规则的优先级

**`property`** {boolean} stopIfTrue - 在应用此规则前是否应用优先级较低的规则

**`property`** {boolean} gradient - 数据条是否为渐变

**`property`** {boolean} showBarOnly - 是否只显示数据条而不显示文本

**`property`** {boolean} showBorder - 是否绘制边框

**`property`** {GC.Data.ColorString} borderColor - 边框颜色

**`property`** {GC.Data.DataBarRuleDirection} barDirection - 数据条方向

**`property`** {GC.Data.DataBarRuleNegativeOptions} negativeData - 数据条规则负数数据选项

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `barDirection` | [`DataBarRuleDirection`](GC.Data#databarruledirection) | 数据条方向 |
| `borderColor` | [`ColorString`](GC.Data#colorstring) | 边框颜色 |
| `color` | [`ColorString`](GC.Data#colorstring) | - |
| `gradient` | `boolean` | 数据条是否为渐变 |
| `maxType` | [`ScaleValueType`](GC.Data#scalevaluetype) | 最大刻度类型 |
| `maxValue` | `number` | 最大刻度值 |
| `minType` | [`ScaleValueType`](GC.Data#scalevaluetype) | 最小刻度类型 |
| `minValue` | `number` | 最小刻度值 |
| `negativeData` | [`DataBarRuleNegativeOptions`](GC.Data#databarrulenegativeoptions) | 数据条规则负数数据选项 |
| `priority` | `number` | 规则的优先级 |
| `ruleType` | ``"dataBarRule"`` | 若要使用数据条规则，需指定此规则类型 |
| `showBarOnly` | `boolean` | 是否只显示数据条而不显示文本 |
| `showBorder` | `boolean` | 是否绘制边框 |
| `stopIfTrue` | `boolean` | 在应用此规则前是否应用优先级较低的规则 |

___

### <a id="dateoccurringruleoptions" name="dateoccurringruleoptions"></a> DateOccurringRuleOptions

Ƭ **DateOccurringRuleOptions**: `Object`

**`property`** {"dateOccurringRule"} ruleType - 若要使用日期发生规则，需指定此规则类型

**`property`** {GC.Data.DateOccurringType} type - 日期发生类型

**`property`** {GC.Data.StyleOptions} style - 当条件满足时应用于单元格的样式

**`property`** {number} priority - 规则的优先级

**`property`** {boolean} stopIfTrue - 在应用此规则前是否应用优先级较低的规则

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `priority` | `number` | 规则的优先级 |
| `ruleType` | ``"dateOccurringRule"`` | 若要使用日期发生规则，需指定此规则类型 |
| `stopIfTrue` | `boolean` | 在应用此规则前是否应用优先级较低的规则 |
| `style` | [`StyleOptions`](GC.Data#styleoptions) | 当条件满足时应用于单元格的样式 |
| `type` | [`DateOccurringType`](GC.Data#dateoccurringtype) | 日期发生类型 |

___

### <a id="dateoccurringtype" name="dateoccurringtype"></a> DateOccurringType

Ƭ **DateOccurringType**: ``"today"`` \| ``"yesterday"`` \| ``"tomorrow"`` \| ``"last7Days"`` \| ``"thisMonth"`` \| ``"lastMonth"`` \| ``"nextMonth"`` \| ``"thisWeek"`` \| ``"lastWeek"`` \| ``"nextWeek"`` \| ``"nextQuarter"`` \| ``"thisQuarter"`` \| ``"lastQuarter"`` \| ``"nextYear"`` \| ``"thisYear"`` \| ``"lastYear"``

**`description`** 日期发生类型。

___

### <a id="datetimepickeroptions" name="datetimepickeroptions"></a> DateTimePickerOptions

Ƭ **DateTimePickerOptions**: `Object`

**`property`** {boolean} showTime - 日历是否需要显示时间部分

**`property`** {string} calendarPage - 默认页面，可选值为"year"(年)、"month"(月)、"day"(日)

**`property`** {string} startDay - 一周的起始日，通常为周一或周日，用户可设置任意一天作为起始日。可选值为"monday"(周一)、"tuesday"(周二)、"wednesday"(周三)、"thursday"(周四)、"friday"(周五)、"saturday"(周六)、"sunday"(周日)

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `calendarPage` | ``"year"`` \| ``"month"`` \| ``"day"`` | 默认页面，可选值为"year"(年)、"month"(月)、"day"(日) |
| `showTime` | `boolean` | 日历是否需要显示时间部分 |
| `startDay` | ``"monday"`` \| ``"tuesday"`` \| ``"wednesday"`` \| ``"thursday"`` \| ``"friday"`` \| ``"saturday"`` \| ``"sunday"`` | 一周的起始日，通常为周一或周日，用户可设置任意一天作为起始日。可选值为"monday"(周一)、"tuesday"(周二)、"wednesday"(周三)、"thursday"(周四)、"friday"(周五)、"saturday"(周六)、"sunday"(周日) |

___

### <a id="datevalidatoroptions" name="datevalidatoroptions"></a> DateValidatorOptions

Ƭ **DateValidatorOptions**: `Object`

**`property`** {"date"} type - 数据验证器类型

**`property`** {GC.Data.CellValueComparisonOperator} comparisonOperator - 数据验证器比较运算符

**`property`** {Date | GC.Data.FormulaString} value1 - 数据验证器第一个值

**`property`** {Date | GC.Data.FormulaString} value2 - 当验证器比较运算符为"between"或"notBetween"时的第二个值

**`property`** {boolean} ignoreBlank - 是否忽略空值

**`property`** {boolean} inCellDropdown - 是否显示下拉按钮

**`property`** {GC.Data.ErrorStyle} errorStyle - 数据验证器错误样式

**`property`** {string} errorTitle - 数据验证器错误标题

**`property`** {string} errorMessage - 数据验证器错误消息

**`property`** {boolean} showErrorMessage - 是否显示错误消息

**`property`** {string} inputMessage - 数据验证器输入提示消息

**`property`** {string} inputTitle - 数据验证器输入提示标题

**`property`** {boolean} showInputMessage - 是否显示输入提示消息

**`property`** {GC.Data.HighlightStyle} highlightStyle - 数据验证器高亮样式

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `comparisonOperator` | [`CellValueComparisonOperator`](GC.Data#cellvaluecomparisonoperator) | 数据验证器比较运算符 |
| `errorMessage` | `string` | 数据验证器错误消息 |
| `errorStyle` | [`ErrorStyle`](GC.Data#errorstyle) | 数据验证器错误样式 |
| `errorTitle` | `string` | 数据验证器错误标题 |
| `highlightStyle` | [`HighlightStyle`](GC.Data#highlightstyle) | 数据验证器高亮样式 |
| `ignoreBlank` | `boolean` | 是否忽略空值 |
| `inCellDropdown` | `boolean` | 是否显示下拉按钮 |
| `inputMessage` | `string` | 数据验证器输入提示消息 |
| `inputTitle` | `string` | 数据验证器输入提示标题 |
| `showErrorMessage` | `boolean` | 是否显示错误消息 |
| `showInputMessage` | `boolean` | 是否显示输入提示消息 |
| `type` | ``"date"`` | 数据验证器类型 |
| `value1` | `Date` \| [`FormulaString`](GC.Data#formulastring) | 数据验证器第一个值 |
| `value2?` | `Date` \| [`FormulaString`](GC.Data#formulastring) | 当验证器比较运算符为"between"或"notBetween"时的第二个值 |

___

### <a id="decoration" name="decoration"></a> Decoration

Ƭ **Decoration**: `Object`

**`property`** {GC.Data.Icon[]} icons - 样式中装饰的图标数组

**`property`** {GC.Data.CornerFold} cornerFold - 样式中装饰的边角折叠效果

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `cornerFold?` | [`CornerFold`](GC.Data#cornerfold) | 样式中装饰的边角折叠效果 |
| `icons?` | [`Icon`](GC.Data#icon)[] | 样式中装饰的图标数组 |

___

### <a id="dropdownoptions" name="dropdownoptions"></a> DropDownOptions

Ƭ **DropDownOptions**: `Object`

**`property`** {string} type - 下拉类型，支持"colorPicker"(颜色选择器)、"dateTimePicker"(日期时间选择器)、"timePicker"(时间选择器)、"monthPicker"(月份选择器)、"list"(列表)、"slider"(滑块)、"calculator"(计算器)、"workflowList"(工作流列表)、"multiColumn"(多列)

**`property`** {GC.Data.ColorPickerOptions | GC.Data.DateTimePickerOptions | GC.Data.TimePickerOptions | GC.Data.MonthPickerOptions | GC.Data.ListOptions | GC.Data.SliderOptions | GC.Data.WorkFlowOptions | GC.Data.MultiColumnOptions} option - 下拉选项配置

**`property`** {Function} submitCommand - 提交下拉值时执行的命令名称或回调函数

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `option?` | [`ColorPickerOptions`](GC.Data#colorpickeroptions) \| [`DateTimePickerOptions`](GC.Data#datetimepickeroptions) \| [`TimePickerOptions`](GC.Data#timepickeroptions) \| [`MonthPickerOptions`](GC.Data#monthpickeroptions) \| [`ListOptions`](GC.Data#listoptions) \| [`SliderOptions`](GC.Data#slideroptions) \| [`WorkFlowOptions`](GC.Data#workflowoptions) \| [`MultiColumnOptions`](GC.Data#multicolumnoptions) | 下拉选项配置 |
| `submitCommand?` | `string` \| (`sheet`: `any`, `value`: `any`, `option`: `any`) => `void` | 提交下拉值时执行的命令名称或回调函数 |
| `type` | ``"colorPicker"`` \| ``"dateTimePicker"`` \| ``"timePicker"`` \| ``"monthPicker"`` \| ``"list"`` \| ``"slider"`` \| ``"calculator"`` \| ``"workflowList"`` \| ``"multiColumn"`` | 下拉类型，支持"colorPicker"(颜色选择器)、"dateTimePicker"(日期时间选择器)、"timePicker"(时间选择器)、"monthPicker"(月份选择器)、"list"(列表)、"slider"(滑块)、"calculator"(计算器)、"workflowList"(工作流列表)、"multiColumn"(多列) |

___

### <a id="duplicateruleoptions" name="duplicateruleoptions"></a> DuplicateRuleOptions

Ƭ **DuplicateRuleOptions**: `Object`

**`property`** {"duplicateRule"} ruleType - 若要使用重复值规则，需指定此规则类型

**`property`** {GC.Data.StyleOptions} style - 当条件满足时应用于单元格的样式

**`property`** {number} priority - 规则的优先级

**`property`** {boolean} stopIfTrue - 在应用此规则前是否应用优先级较低的规则

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `priority` | `number` | 规则的优先级 |
| `ruleType` | ``"duplicateRule"`` | 若要使用重复值规则，需指定此规则类型 |
| `stopIfTrue` | `boolean` | 在应用此规则前是否应用优先级较低的规则 |
| `style` | [`StyleOptions`](GC.Data#styleoptions) | 当条件满足时应用于单元格的样式 |

___

### <a id="errorstyle" name="errorstyle"></a> ErrorStyle

Ƭ **ErrorStyle**: ``"stop"`` \| ``"warning"`` \| ``"information"``

**`description`** 验证器错误样式。

___

### <a id="fileuploadoptions" name="fileuploadoptions"></a> FileUploadOptions

Ƭ **FileUploadOptions**: `Object`

**`property`** {string} type - 单元格类型，支持"fileUpload"(文件上传)

**`property`** {number} maxSize - 可上传的最大文件大小(单位：字节)

**`property`** {string} accept - 允许上传的文件类型，格式如："image/*,.pdf,.doc"

**`property`** {boolean} isPreviewEnabled - 是否显示文件预览按钮

**`property`** {boolean} isDownloadEnabled - 是否显示文件下载按钮

**`property`** {boolean} isClearEnabled - 是否显示文件清除按钮

**`property`** {number} marginTop - 元素上边距(单位：像素)

**`property`** {number} marginRight - 元素右边距(单位：像素)

**`property`** {number} marginBottom - 元素下边距(单位：像素)

**`property`** {number} marginLeft - 元素左边距(单位：像素)

**`property`** {string} valuePath - 从文件对象中获取单元格值的路径，如"name"获取文件名

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `accept?` | `string` | 允许上传的文件类型，格式如："image/*,.pdf,.doc" |
| `isClearEnabled?` | `boolean` | 是否显示文件清除按钮 |
| `isDownloadEnabled?` | `boolean` | 是否显示文件下载按钮 |
| `isPreviewEnabled?` | `boolean` | 是否显示文件预览按钮 |
| `marginBottom?` | `number` | 元素下边距(单位：像素) |
| `marginLeft?` | `number` | 元素左边距(单位：像素) |
| `marginRight?` | `number` | 元素右边距(单位：像素) |
| `marginTop?` | `number` | 元素上边距(单位：像素) |
| `maxSize?` | `number` | - |
| `type` | ``"fileUpload"`` | 单元格类型，支持"fileUpload"(文件上传) |
| `valuePath?` | `string` | 从文件对象中获取单元格值的路径，如"name"获取文件名 |

___

### <a id="formulalistvalidatoroptions" name="formulalistvalidatoroptions"></a> FormulaListValidatorOptions

Ƭ **FormulaListValidatorOptions**: `Object`

**`property`** {"formulaList"} type - 数据验证器类型

**`property`** {GC.Data.FormulaString} formula - 当验证器类型为"formula"或"formulaList"时使用的公式

**`property`** {boolean} ignoreBlank - 是否忽略空值

**`property`** {boolean} inCellDropdown - 是否显示下拉按钮

**`property`** {GC.Data.ErrorStyle} errorStyle - 数据验证错误样式

**`property`** {string} errorTitle - 数据验证错误标题

**`property`** {string} errorMessage - 数据验证错误消息

**`property`** {boolean} showErrorMessage - 是否显示错误消息

**`property`** {string} inputMessage - 数据验证输入提示消息

**`property`** {string} inputTitle - 数据验证输入提示标题

**`property`** {boolean} showInputMessage - 是否显示输入提示消息

**`property`** {GC.Data.HighlightStyle} highlightStyle - 数据验证高亮样式

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `errorMessage` | `string` | 数据验证错误消息 |
| `errorStyle` | [`ErrorStyle`](GC.Data#errorstyle) | 数据验证错误样式 |
| `errorTitle` | `string` | 数据验证错误标题 |
| `formula` | [`FormulaString`](GC.Data#formulastring) | 当验证器类型为"formula"或"formulaList"时使用的公式 |
| `highlightStyle` | [`HighlightStyle`](GC.Data#highlightstyle) | 数据验证高亮样式 |
| `ignoreBlank` | `boolean` | 是否忽略空值 |
| `inCellDropdown` | `boolean` | 是否显示下拉按钮 |
| `inputMessage` | `string` | 数据验证输入提示消息 |
| `inputTitle` | `string` | 数据验证输入提示标题 |
| `showErrorMessage` | `boolean` | 是否显示错误消息 |
| `showInputMessage` | `boolean` | 是否显示输入提示消息 |
| `type` | ``"formulaList"`` | 数据验证器类型 |

___

### <a id="formularule" name="formularule"></a> FormulaRule

Ƭ **FormulaRule**: `Object`

**`property`** {GC.Data.FormulaString} formula - 公式。

**`description`** 公式规则。

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `formula` | [`FormulaString`](GC.Data#formulastring) | 公式字符串 |

___

### <a id="formularuleoptions" name="formularuleoptions"></a> FormulaRuleOptions

Ƭ **FormulaRuleOptions**: `Object`

**`property`** {"formulaRule"} ruleType - 若要使用公式规则，需指定此规则类型

**`property`** {GC.Data.FormulaString} formula - 公式

**`property`** {GC.Data.StyleOptions} style - 当条件满足时应用于单元格的样式

**`property`** {number} priority - 规则的优先级

**`property`** {boolean} stopIfTrue - 在应用此规则前是否应用优先级较低的规则

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `formula` | [`FormulaString`](GC.Data#formulastring) | 公式 |
| `priority` | `number` | 规则的优先级 |
| `ruleType` | ``"formulaRule"`` | 若要使用公式规则，需指定此规则类型 |
| `stopIfTrue` | `boolean` | 在应用此规则前是否应用优先级较低的规则 |
| `style` | [`StyleOptions`](GC.Data#styleoptions) | 当条件满足时应用于单元格的样式 |

___

### <a id="formulastring" name="formulastring"></a> FormulaString

Ƭ **FormulaString**: `string`

___

### <a id="formulavalidatoroptions" name="formulavalidatoroptions"></a> FormulaValidatorOptions

Ƭ **FormulaValidatorOptions**: `Object`

**`property`** {"formula"} type - 数据验证器类型

**`property`** {GC.Data.FormulaString} formula - 当验证器类型为"formula"或"formulaList"时使用的公式

**`property`** {boolean} ignoreBlank - 是否忽略空值

**`property`** {boolean} inCellDropdown - 是否显示下拉按钮

**`property`** {GC.Data.ErrorStyle} errorStyle - 数据验证错误样式

**`property`** {string} errorTitle - 数据验证错误标题

**`property`** {string} errorMessage - 数据验证错误消息

**`property`** {boolean} showErrorMessage - 是否显示错误消息

**`property`** {string} inputMessage - 数据验证输入提示消息

**`property`** {string} inputTitle - 数据验证输入提示标题

**`property`** {boolean} showInputMessage - 是否显示输入提示消息

**`property`** {GC.Data.HighlightStyle} highlightStyle - 数据验证高亮样式

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `errorMessage` | `string` | 数据验证错误消息 |
| `errorStyle` | [`ErrorStyle`](GC.Data#errorstyle) | 数据验证错误样式 |
| `errorTitle` | `string` | 数据验证错误标题 |
| `formula` | [`FormulaString`](GC.Data#formulastring) | 当验证器类型为"formula"或"formulaList"时使用的公式 |
| `highlightStyle` | [`HighlightStyle`](GC.Data#highlightstyle) | 数据验证高亮样式 |
| `ignoreBlank` | `boolean` | 是否忽略空值 |
| `inCellDropdown` | `boolean` | 是否显示下拉按钮 |
| `inputMessage` | `string` | 数据验证输入提示消息 |
| `inputTitle` | `string` | 数据验证输入提示标题 |
| `showErrorMessage` | `boolean` | 是否显示错误消息 |
| `showInputMessage` | `boolean` | 是否显示输入提示消息 |
| `type` | ``"formula"`` | 数据验证器类型 |

___

### <a id="gradientfilloptions" name="gradientfilloptions"></a> GradientFillOptions

Ƭ **GradientFillOptions**: `Object`

**`property`** {number} degree - 渐变填充角度。

**`property`** {GC.Data.GradientStop[]} stops - 渐变填充停止点。

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `degree?` | `number` | 渐变填充角度。 |
| `stops` | [`GradientStop`](GC.Data#gradientstop)[] | 渐变填充停止点。 |

___

### <a id="gradientpathfilloptions" name="gradientpathfilloptions"></a> GradientPathFillOptions

Ƭ **GradientPathFillOptions**: `Object`

**`property`** {string} type - 渐变路径填充类型，支持"path"(路径)

**`property`** {number} left - 渐变路径填充的左侧位置

**`property`** {number} right - 渐变路径填充的右侧位置

**`property`** {number} top - 渐变路径填充的顶部位置

**`property`** {number} bottom - 渐变路径填充的底部位置

**`property`** {GC.Data.GradientStop[]} stops - 渐变路径填充的色标数组

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `bottom?` | `number` | 渐变路径填充的底部位置 |
| `left?` | `number` | 渐变路径填充的左侧位置 |
| `right?` | `number` | 渐变路径填充的右侧位置 |
| `stops` | [`GradientStop`](GC.Data#gradientstop)[] | 渐变路径填充的色标数组 |
| `top?` | `number` | 渐变路径填充的顶部位置 |
| `type` | ``"path"`` | 渐变路径填充类型，支持"path"(路径) |

___

### <a id="gradientstop" name="gradientstop"></a> GradientStop

Ƭ **GradientStop**: `Object`

**`property`** {string} color - 渐变色标颜色

**`property`** {number} position - 渐变色标位置（取值范围通常为0-1）

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `color` | `string` | 渐变色标颜色 |
| `position` | `number` | 渐变色标位置（取值范围通常为0-1） |

___

### <a id="headerstyleoptions" name="headerstyleoptions"></a> HeaderStyleOptions

Ƭ **HeaderStyleOptions**: `Object`

**`property`** {string | GC.Data.PatternFillOptions | GC.Data.GradientFillOptions | GC.Data.GradientPathFillOptions} backColor - 背景颜色字符串或图案填充选项、渐变填充选项、渐变路径填充选项

**`property`** {string} foreColor - 前景色（字体颜色）

**`property`** {string} hAlign - 水平对齐方式，支持"left"(左对齐)、"center"(居中对齐)、"right"(右对齐)、"general"(常规对齐)

**`property`** {string} vAlign - 垂直对齐方式，支持"top"(顶端对齐)、"center"(居中对齐)、"bottom"(底端对齐)

**`property`** {string} font - 字体样式（如"微软雅黑, 12px"）

**`property`** {string} themeFont - 主题字体

**`property`** {string} formatter - 格式化字符串（用于数据展示格式控制）

**`property`** {GC.Data.LineBorder} borderLeft - 左边框样式

**`property`** {GC.Data.LineBorder} borderTop - 上边框样式

**`property`** {GC.Data.LineBorder} borderRight - 右边框样式

**`property`** {GC.Data.LineBorder} borderBottom - 下边框样式

**`property`** {GC.Data.LineBorder} diagonalDown - 从左上到右下的对角线边框

**`property`** {GC.Data.LineBorder} diagonalUp - 从右上到左下的对角线边框

**`property`** {boolean} locked - 单元格/行/列是否锁定（禁止编辑）

**`property`** {number} textIndent - 文本缩进量（单位：像素）

**`property`** {boolean} wordWrap - 是否自动换行

**`property`** {boolean} shrinkToFit - 内容是否自动缩小以适应单元格

**`property`** {string} backgroundImage - 背景图片路径或数据URL

**`property`** {string} backgroundImageLayout - 背景图片布局方式，支持"stretch"(拉伸)、"center"(居中)、"zoom"(缩放)、"none"(原始尺寸)

**`property`** {GC.Data.TextDecoration} textDecoration - 文本装饰（如下划线、删除线等）

**`property`** {string} name - 样式名称

**`property`** {string} parentName - 父样式名称（继承样式时使用）

**`property`** {string} watermark - 水印内容

**`property`** {string} cellPadding - 单元格内边距（如"5px 10px"）

**`property`** {GC.Data.LabelOptions} labelOptions - 单元格标签选项

**`property`** {boolean} isVerticalText - 是否设置单元格文本垂直显示

**`property`** {boolean} showEllipsis - 文本超出范围时是否显示省略号（...）

**`property`** {GC.Data.Decoration} decoration - 装饰样式（图标、边角折叠等）

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `backColor?` | `string` \| [`PatternFillOptions`](GC.Data#patternfilloptions) \| [`GradientFillOptions`](GC.Data#gradientfilloptions) \| [`GradientPathFillOptions`](GC.Data#gradientpathfilloptions) | 背景颜色字符串或图案填充选项、渐变填充选项、渐变路径填充选项 |
| `backgroundImage?` | `string` | 背景图片路径或数据URL |
| `backgroundImageLayout?` | ``"stretch"`` \| ``"center"`` \| ``"zoom"`` \| ``"none"`` | 背景图片布局方式，支持"stretch"(拉伸)、"center"(居中)、"zoom"(缩放)、"none"(原始尺寸) |
| `borderBottom?` | [`LineBorder`](GC.Data#lineborder) | 下边框样式 |
| `borderLeft?` | [`LineBorder`](GC.Data#lineborder) | 左边框样式 |
| `borderRight?` | [`LineBorder`](GC.Data#lineborder) | 右边框样式 |
| `borderTop?` | [`LineBorder`](GC.Data#lineborder) | 上边框样式 |
| `cellPadding?` | `string` | 单元格内边距（如"5px 10px"） |
| `decoration?` | [`Decoration`](GC.Data#decoration) | 装饰样式（图标、边角折叠等） |
| `diagonalDown?` | [`LineBorder`](GC.Data#lineborder) | 从左上到右下的对角线边框 |
| `diagonalUp?` | [`LineBorder`](GC.Data#lineborder) | 从右上到左下的对角线边框 |
| `font?` | `string` | 字体样式（如"微软雅黑, 12px"） |
| `foreColor?` | `string` | 前景色（字体颜色） |
| `formatter?` | `string` | 格式化字符串（用于数据展示格式控制） |
| `hAlign?` | ``"left"`` \| ``"center"`` \| ``"right"`` \| ``"general"`` | 水平对齐方式，支持"left"(左对齐)、"center"(居中对齐)、"right"(右对齐)、"general"(常规对齐) |
| `isVerticalText?` | `boolean` | 是否设置单元格文本垂直显示 |
| `labelOptions?` | [`LabelOptions`](GC.Data#labeloptions) | 单元格标签选项 |
| `locked?` | `boolean` | 单元格/行/列是否锁定（禁止编辑） |
| `name?` | `string` | 样式名称 |
| `parentName?` | `string` | 父样式名称（继承样式时使用） |
| `showEllipsis?` | `boolean` | 文本超出范围时是否显示省略号（...） |
| `shrinkToFit?` | `boolean` | 内容是否自动缩小以适应单元格 |
| `textDecoration?` | [`TextDecoration`](GC.Data#textdecoration) | 文本装饰（如下划线、删除线等） |
| `textIndent?` | `number` | 文本缩进量（单位：像素） |
| `themeFont?` | `string` | 主题字体 |
| `vAlign?` | ``"top"`` \| ``"center"`` \| ``"bottom"`` | 垂直对齐方式，支持"top"(顶端对齐)、"center"(居中对齐)、"bottom"(底端对齐) |
| `watermark?` | `string` | 水印内容 |
| `wordWrap?` | `boolean` | 是否自动换行 |

___

### <a id="hierarchycustomparsehandler" name="hierarchycustomparsehandler"></a> HierarchyCustomParseHandler

Ƭ **HierarchyCustomParseHandler**: (`options`: [`IHierarchyCustomParseOptions`](GC.Data#ihierarchycustomparseoptions)) => `any`

#### Type declaration

▸ (`options`): `any`

**`description`** 获取当前记录的父级ID

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options` | [`IHierarchyCustomParseOptions`](GC.Data#ihierarchycustomparseoptions) | 处理器选项 |

##### Returns

`any`

当前记录的父级ID返回值

___

### <a id="hierarchycustomunparsehandler" name="hierarchycustomunparsehandler"></a> HierarchyCustomUnparseHandler

Ƭ **HierarchyCustomUnparseHandler**: (`options`: [`IHierarchyCustomUnparseOptions`](GC.Data#ihierarchycustomunparseoptions)) => `any`

#### Type declaration

▸ (`options`): `any`

**`description`** 获取当前记录的ID

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options` | [`IHierarchyCustomUnparseOptions`](GC.Data#ihierarchycustomunparseoptions) | 处理器选项 |

##### Returns

`any`

当前记录的ID返回值

___

### <a id="highlightstyle" name="highlightstyle"></a> HighlightStyle

Ƭ **HighlightStyle**: `Object`

**`property`** {"circle" | "dogEar" | "icon"} type - 高亮类型，支持"circle"(圆形)、"dogEar"(狗耳形)、"icon"(图标)

**`property`** {GC.Data.ColorString} color - 高亮颜色

**`property`** {"topLeft" | "topRight" | "bottomRight" | "bottomLeft" | "outsideLeft" | "outsideRight"} position - 高亮位置，支持"topLeft"(左上)、"topRight"(右上)、"bottomRight"(右下)、"bottomLeft"(左下)、"outsideLeft"(外侧左)、"outsideRight"(外侧右)

**`property`** {string} image - 高亮图像，支持URL或Base64数据

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `color?` | `string` | 高亮颜色 |
| `image?` | `string` | 高亮图像，支持URL或Base64数据 |
| `position` | ``"topLeft"`` \| ``"topRight"`` \| ``"bottomRight"`` \| ``"bottomLeft"`` \| ``"outsideLeft"`` \| ``"outsideRight"`` | 高亮位置 |
| `type?` | ``"circle"`` \| ``"dogEar"`` \| ``"icon"`` | 高亮类型 |

___

### <a id="hyperlinkoptions" name="hyperlinkoptions"></a> HyperlinkOptions

Ƭ **HyperlinkOptions**: `Object`

**`property`** {string} type - 单元格类型，支持"hyperlink"(超链接)

**`property`** {string} linkColor - 链接颜色

**`property`** {string} visitedLinkColor - 已访问链接的颜色

**`property`** {string} text - 链接文本

**`property`** {string} linkToolTip - 链接提示文本

**`property`** {string} target - 链接目标类型，支持"blank"(新窗口)、"self"(当前窗口)、"parent"(父框架)、"top"(顶级框架)

**`property`** {boolean} activeOnClick - 点击时是否移动到活动单元格

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `activeOnClick?` | `boolean` | 点击时是否移动到活动单元格 |
| `linkColor?` | `string` | 链接颜色 |
| `linkToolTip?` | `string` | 链接提示文本 |
| `target?` | ``"blank"`` \| ``"self"`` \| ``"parent"`` \| ``"top"`` | 链接目标类型，支持"blank"(新窗口)、"self"(当前窗口)、"parent"(父框架)、"top"(顶级框架) |
| `text?` | `string` | 链接文本 |
| `type` | ``"hyperlink"`` | 单元格类型，支持"hyperlink"(超链接) |
| `visitedLinkColor?` | `string` | 已访问链接的颜色 |

___

### <a id="icolumn" name="icolumn"></a> IColumn

Ƭ **IColumn**: `Object`

**`property`** {string} name - 列的唯一名称

**`property`** {string} value - 列的值，可以是数据库表的字段名，或使用字段名的公式

**`property`** {string} type - 列类型，可选"Number"(数字)、"Text"(文本)、"Formula"(公式)、"Checkbox"(复选框)、"Date"(日期)、"Currency"(货币)、"Percent"(百分比)、"Phone"(电话)、"Email"(电子邮件)、"URL"(网址)、"Lookup"(查找)、"CreatedTime"(创建时间)、"ModifiedTime"(修改时间)、"Attachment"(附件)、"Select"(选择)、"Barcode"(条形码)

**`property`** {string | string[]} caption - 列标题

**`property`** {number | string} width - 列宽度，支持像素值或星号大小

**`property`** {GC.Data.StyleOptions} style - 列样式

**`property`** {(GC.Data.CellValueRuleOptions | GC.Data.SpecificTextRuleOptions | GC.Data.FormulaRuleOptions | GC.Data.DateOccurringRuleOptions | GC.Data.Top10RuleOptions | GC.Data.UniqueRuleOptions | GC.Data.DuplicateRuleOptions | GC.Data.AverageRuleOptions | GC.Data.TwoScaleRuleOptions | GC.Data.ThreeScaleRuleOptions | GC.Data.DataBarRuleOptions | GC.Data.IconSetRuleOptions)[]} conditionalFormats - 列的条件格式数组

**`property`** {GC.Data.NumberValidatorOptions | GC.Data.DateValidatorOptions | GC.Data.TimeValidatorOptions | GC.Data.TextLengthValidatorOptions | GC.Data.FormulaValidatorOptions | GC.Data.FormulaListValidatorOptions | GC.Data.ListValidatorOptions} validator - 列的数据验证器

**`property`** {boolean} isPrimaryKey - 将列标记为主键列

**`property`** {boolean} readonly - 标记列为只读

**`property`** {boolean} required - 标记在插入新行时列为必填项

**`property`** {Object} defaultValue - 在插入新行时提供默认值，可以是常量或公式

**`property`** {GC.Data.HeaderStyleOptions} headerStyle - 列的表头样式

**`property`** {boolean} visible - 标记列是否可见

**`property`** {string} headerFit - 表头适应模式，可选"normal"(正常)、"vertical"(垂直)或"stack"(堆叠)。默认值为"normal"

**`property`** {string} dataType - 原始值的实际数据类型，可选"string"(字符串)、"number"(数字)、"boolean"(布尔值)、"object"(对象)、"formula"(公式)、"array"(数组)、"date"(日期)或"rowOrder"(行顺序)。这对日期特别有用，因为日期在JSON数据中是字符串，需要转换

**`property`** {string} dataPattern - 用于将字符串解析为值的数据模式，如日期字符串的格式"dd/MM/yyyy"、布尔字符串的真假值对"Yes|No"、数字字符串的小数点分隔符","

**`property`** {Object} dataMap - 一个简单的映射，使原始值显示得更有意义，其键可以是数字或字符串，其值可以是数字、字符串或日期

**`property`** {boolean} spread - 当列的值是对象时是否展开列

**`property`** {string} dataName - 表字段的原始名称，使用此属性将原始名称映射到指定名称

**`property`** {boolean} indexed - 在创建表时是否需要创建过滤缓存

**`property`** {boolean} allowSort - 打开过滤对话框后是否显示排序选项

**`property`** {boolean} allowFilterByValue - 打开过滤对话框后是否显示按值过滤选项

**`property`** {boolean} allowFilterByList - 打开过滤对话框后是否显示按列表过滤选项。如果allowSort、allowFilterByValue和allowFilterByList都为false，则不在此列中显示过滤按钮

**`property`** {string | GC.Data.ICrossOptions} cross - 列的交叉选项

**`property`** {string | (string | number | boolean | Date)[] | GC.Data.ILookupOptions} lookup - 定义列的查找，仅用于数据源架构的列

**`property`** {boolean | GC.Data.IOutlineColumnOptions} outlineColumn - 仅当数据是层次结构数据时定义大纲列

**`property`** {GC.Data.ITriggerFormulaOption} trigger - 列的触发公式

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `allowFilterByList?` | `boolean` | 打开过滤对话框后是否显示按列表过滤选项 |
| `allowFilterByValue?` | `boolean` | 打开过滤对话框后是否显示按值过滤选项 |
| `allowSort?` | `boolean` | 打开过滤对话框后是否显示排序选项 |
| `caption?` | `string` \| `string`[] | 列标题 |
| `conditionalFormats?` | ([`CellValueRuleOptions`](GC.Data#cellvalueruleoptions) \| [`SpecificTextRuleOptions`](GC.Data#specifictextruleoptions) \| [`FormulaRuleOptions`](GC.Data#formularuleoptions) \| [`DateOccurringRuleOptions`](GC.Data#dateoccurringruleoptions) \| [`Top10RuleOptions`](GC.Data#top10ruleoptions) \| [`UniqueRuleOptions`](GC.Data#uniqueruleoptions) \| [`DuplicateRuleOptions`](GC.Data#duplicateruleoptions) \| [`AverageRuleOptions`](GC.Data#averageruleoptions) \| [`TwoScaleRuleOptions`](GC.Data#twoscaleruleoptions) \| [`ThreeScaleRuleOptions`](GC.Data#threescaleruleoptions) \| [`DataBarRuleOptions`](GC.Data#databarruleoptions) \| [`IconSetRuleOptions`](GC.Data#iconsetruleoptions) \| [`SparklineRuleOptions`](GC.Data#sparklineruleoptions))[] | 列的条件格式数组 |
| `cross?` | `string` \| [`ICrossOptions`](GC.Data#icrossoptions) | 列的交叉选项 |
| `dataMap?` | `any` | 一个简单的映射，使原始值显示得更有意义 |
| `dataName?` | `string` | 表字段的原始名称 |
| `dataPattern?` | `string` | 用于将字符串解析为值的数据模式 |
| `dataType?` | ``"string"`` \| ``"number"`` \| ``"boolean"`` \| ``"object"`` \| ``"formula"`` \| ``"array"`` \| ``"date"`` \| ``"rowOrder"`` \| ``"TaskStartDate"`` \| ``"TaskFinishDate"`` \| ``"TaskDuration"`` \| ``"TaskSubject"`` \| ``"TaskSchedulingMode"`` \| ``"TaskComplete"`` \| ``"TaskPredecessor"`` | 原始值的实际数据类型 |
| `defaultValue?` | `any` | 在插入新行时提供默认值 |
| `headerFit?` | ``"normal"`` \| ``"vertical"`` \| ``"stack"`` | 表头适应模式 |
| `headerStyle?` | [`HeaderStyleOptions`](GC.Data#headerstyleoptions) | 列的表头样式 |
| `indexed?` | `boolean` | 在创建表时是否需要创建过滤缓存 |
| `isPrimaryKey?` | `boolean` | 将列标记为主键列 |
| `lookup?` | `string` \| (`string` \| `number` \| `boolean` \| `Date`)[] \| [`ILookupOptions`](GC.Data#ilookupoptions) | 定义列的查找 |
| `name?` | `string` | 列的唯一名称 |
| `outlineColumn?` | `boolean` \| [`IOutlineColumnOptions`](GC.Data#ioutlinecolumnoptions) | 仅当数据是层次结构数据时定义大纲列 |
| `readonly?` | `boolean` | 标记列为只读 |
| `required?` | `boolean` | 标记在插入新行时列为必填项 |
| `showEmptyAs?` | `string` | 空字符串值的显示文本。 |
| `showNullAs?` | `string` | null 或 undefined 值的显示文本。 |
| `spread?` | `boolean` | 当列的值是对象时是否展开列 |
| `style?` | [`StyleOptions`](GC.Data#styleoptions) | 列样式 |
| `trigger?` | [`ITriggerFormulaOption`](GC.Data#itriggerformulaoption) | 列的触发公式 |
| `type?` | `string` | 列类型 |
| `validator?` | [`NumberValidatorOptions`](GC.Data#numbervalidatoroptions) \| [`DateValidatorOptions`](GC.Data#datevalidatoroptions) \| [`TimeValidatorOptions`](GC.Data#timevalidatoroptions) \| [`TextLengthValidatorOptions`](GC.Data#textlengthvalidatoroptions) \| [`FormulaValidatorOptions`](GC.Data#formulavalidatoroptions) \| [`FormulaListValidatorOptions`](GC.Data#formulalistvalidatoroptions) \| [`ListValidatorOptions`](GC.Data#listvalidatoroptions) | 列的数据验证器 |
| `value?` | `string` | 列的值，可以是数据库表的字段名，或使用字段名的公式 |
| `visible?` | `boolean` | 标记列是否可见 |
| `width?` | `number` \| `string` | 列宽度 |

___

### <a id="icolumncollection" name="icolumncollection"></a> IColumnCollection

Ƭ **IColumnCollection**: `Object`

**`property`** {GC.Data.IColumn} key - 一个键值对集合，其中键为字符串，值为GC.Data.IColumn对象。

#### Index signature

▪ [key: `string`]: [`IColumn`](GC.Data#icolumn)

___

### <a id="icrossattributeoptions" name="icrossattributeoptions"></a> ICrossAttributeOptions

Ƭ **ICrossAttributeOptions**: `Object`

**`property`** {string} value - 用于定义交叉列的标题

**`property`** {string} formatter - 用于格式化值

**`description`** 定义交叉列标题的选项

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `formatter?` | `string` | 用于格式化值 |
| `value` | `string` | 用于定义交叉列的标题 |

___

### <a id="icrossoptions" name="icrossoptions"></a> ICrossOptions

Ƭ **ICrossOptions**: `Object`

**`property`** {string} over - 用于查找交叉列的键

**`property`** {(string | GC.Data.ICrossAttributeOptions)[]} attributes - 用于定义交叉列多级标题的属性

**`property`** {string} filter - 用于过滤交叉列的公式

**`property`** {string} caption - 自定义标题

**`description`** 定义交叉列的选项

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `attributes?` | (`string` \| [`ICrossAttributeOptions`](GC.Data#icrossattributeoptions))[] | 用于定义交叉列多级标题的属性 |
| `caption?` | `string` | 自定义标题 |
| `filter?` | `string` | 用于过滤交叉列的公式 |
| `over` | `string` | 用于查找交叉列的键 |

___

### <a id="icrossviewoptions" name="icrossviewoptions"></a> ICrossViewOptions

Ƭ **ICrossViewOptions**: `Object`

**`property`** {GC.Data.ICrossOptions} key - 一个键值对集合，其中键为字符串，值为GC.Data.ICrossOptions对象。

#### Index signature

▪ [key: `string`]: [`ICrossOptions`](GC.Data#icrossoptions)

___

### <a id="idatasourceoption" name="idatasourceoption"></a> IDataSourceOption

Ƭ **IDataSourceOption**: `Object`

**`property`** {Array | string} data - 本地数据源，可以是JSON对象数组、CSV或XML字符串

**`property`** {GC.Data.IRemoteTransportOption} remote - 远程数据源，支持REST API、OData、GraphQL

**`property`** {boolean} autoSync - 自动同步模式下，数据变更会立即同步到服务器

**`property`** {boolean} batch - 批量模式下，数据变更会暂存于数据源，需调用submitChanges方法同步到服务器

**`property`** {GC.Data.ISchemaOption} schema - 数据源架构选项

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `autoSync?` | `boolean` | 是否启用自动同步 |
| `batch?` | `boolean` | 是否启用批量模式 |
| `data?` | `any` | 本地数据源 |
| `remote?` | [`IRemoteTransportOption`](GC.Data#iremotetransportoption) | 远程数据源 |
| `schema?` | [`ISchemaOption`](GC.Data#ischemaoption) | 数据源架构选项 |

___

### <a id="iformulacollection" name="iformulacollection"></a> IFormulaCollection

Ƭ **IFormulaCollection**: `Object`

**`property`** {string} key - 键值集合，键为字符串，值为公式字符串

#### Index signature

▪ [key: `string`]: `string`

___

### <a id="ihierarchycustomparseoptions" name="ihierarchycustomparseoptions"></a> IHierarchyCustomParseOptions

Ƭ **IHierarchyCustomParseOptions**: `Object`

**`property`** {any} data - 当前记录的数据

**`property`** {number} index - 记录索引

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `data` | `any` | 当前记录的数据 |
| `index` | `number` | 记录索引 |

___

### <a id="ihierarchycustomunparseoptions" name="ihierarchycustomunparseoptions"></a> IHierarchyCustomUnparseOptions

Ƭ **IHierarchyCustomUnparseOptions**: `Object`

**`property`** {any} data - 当前记录的数据

**`property`** {number} index - 记录索引

**`property`** {any} parentData - 父级记录的数据

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `data` | `any` | 当前记录的数据 |
| `index` | `number` | 记录索引 |
| `parentData` | `any` | 父级记录的数据 |

___

### <a id="ihierarchyoption" name="ihierarchyoption"></a> IHierarchyOption

Ƭ **IHierarchyOption**: `Object`

**`property`** {string} type - 支持'Parent'(父级)、'ChildrenPath'(子路径)、'Level'(层级)、'Custom'(自定义)

**`property`** {string} column - 用于构建层级结构数据的列

**`property`** {string | GC.Data.IHierarchyOutlineColumnOptions} outlineColumn - 层级结构显示列的大纲列定义

**`property`** {GC.Data.IHierarchySummaryFieldCollection} summaryFields - 层级结构汇总字段集合定义

**`property`** {GC.Data.HierarchyCustomParseHandler} parse - 自定义层级结构解析父级ID的处理器

**`property`** {GC.Data.HierarchyCustomUnparseHandler} unparse - 自定义层级结构反解析记录ID的处理器

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `column` | `string` | 构建层级结构的列 |
| `outlineColumn?` | `string` \| [`IHierarchyOutlineColumnOptions`](GC.Data#ihierarchyoutlinecolumnoptions) | 大纲列定义 |
| `parse?` | [`HierarchyCustomParseHandler`](GC.Data#hierarchycustomparsehandler) | 自定义解析处理器 |
| `summaryFields?` | [`IHierarchySummaryFieldCollection`](GC.Data#ihierarchysummaryfieldcollection) | 汇总字段集合定义 |
| `type` | ``"Parent"`` \| ``"ChildrenPath"`` \| ``"Level"`` \| ``"Custom"`` | 层级结构类型 |
| `unparse?` | [`HierarchyCustomUnparseHandler`](GC.Data#hierarchycustomunparsehandler) | 自定义反解析处理器 |

___

### <a id="ihierarchyoutlinecolumnoptions" name="ihierarchyoutlinecolumnoptions"></a> IHierarchyOutlineColumnOptions

Ƭ **IHierarchyOutlineColumnOptions**: `Object`

**`property`** {string} value - 指定显示为层级结构的列

**`property`** {boolean} showCheckBox - 是否显示复选框

**`property`** {boolean} showImage - 是否显示图片

**`property`** {string[]} images - 按层级显示的图片（URL或Base64图片）

**`property`** {boolean} showIndicator - 是否显示指示器

**`property`** {string} expandIndicator - 展开指示器（URL或Base64图片）

**`property`** {string} collapseIndicator - 折叠指示器（URL或Base64图片）

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `collapseIndicator?` | `string` | 折叠指示器 |
| `expandIndicator?` | `string` | 展开指示器 |
| `images?` | `string`[] | 按层级显示的图片 |
| `showCheckBox?` | `boolean` | 是否显示复选框 |
| `showImage?` | `boolean` | 是否显示图片 |
| `showIndicator?` | `boolean` | 是否显示指示器 |
| `value` | `string` | 指定显示为层级结构的列 |

___

### <a id="ihierarchysummaryfieldcollection" name="ihierarchysummaryfieldcollection"></a> IHierarchySummaryFieldCollection

Ƭ **IHierarchySummaryFieldCollection**: `Object`

**`property`** {string} key - 键值集合，键为字段字符串，值为公式字符串

#### Index signature

▪ [key: `string`]: `string`

___

### <a id="ilookupoptions" name="ilookupoptions"></a> ILookupOptions

Ƭ **ILookupOptions**: `Object`

**`property`** {string} name - 关联关系名称

**`property`** {string[] | GC.Data.IColumn[]} columns - 相关表的列定义，用于多列下拉

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `columns` | `string`[] \| [`IColumn`](GC.Data#icolumn)[] | 相关表的列定义 |
| `name` | `string` | 关联关系名称 |

___

### <a id="ioutlinecolumnoptions" name="ioutlinecolumnoptions"></a> IOutlineColumnOptions

Ƭ **IOutlineColumnOptions**: `Object`

**`property`** {boolean} showCheckBox - 是否显示复选框

**`property`** {boolean} showImage - 是否显示图片

**`property`** {string[]} images - 按层级显示的图片（URL或Base64图片）

**`property`** {boolean} showIndicator - 是否显示指示器

**`property`** {string} expandIndicator - 展开指示器（URL或Base64图片）

**`property`** {string} collapseIndicator - 折叠指示器（URL或Base64图片）

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `collapseIndicator?` | `string` | 折叠指示器（url 或 base64Image）。 |
| `expandIndicator?` | `string` | 展开指示器（url 或 base64Image）。 |
| `images?` | `string`[] | 按级别配置的图像（url 或 base64Image）。 |
| `showCheckBox?` | `boolean` | 是否显示复选框。 |
| `showImage?` | `boolean` | 是否显示图像。 |
| `showIndicator?` | `boolean` | 是否显示指示器。 |

___

### <a id="iremotefetchoption" name="iremotefetchoption"></a> IRemoteFetchOption

Ƭ **IRemoteFetchOption**: `RequestInit`

___

### <a id="iremotereadrequestoption" name="iremotereadrequestoption"></a> IRemoteReadRequestOption

Ƭ **IRemoteReadRequestOption**: `Object`

**`property`** {string} url - 请求URL

**`property`** {string} method - 请求方法，如'GET'、'POST'、'PUT'、'DELETE'，默认值为'GET'

**`property`** {GC.Data.IRemoteFetchOption} options - 请求选项（类似Fetch API的RequestInit，可选）

**`property`** {string} adapter - 适配不同数据协议，支持"rest"、"odata"、"odata4"、"graphql"

**`property`** {Object} body - 请求体

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `adapter?` | `string` | 适配的数据协议 |
| `body?` | `Object` | 请求体 |
| `method?` | ``"GET"`` \| ``"POST"`` \| ``"PUT"`` \| ``"DELETE"`` | 请求方法 |
| `options?` | [`IRemoteFetchOption`](GC.Data#iremotefetchoption) | 请求选项 |
| `url` | `string` | 请求URL |

___

### <a id="iremoterequestoption" name="iremoterequestoption"></a> IRemoteRequestOption

Ƭ **IRemoteRequestOption**: `Object`

**`property`** {string} url - 请求URL

**`property`** {string} method - 请求方法，如'GET'、'POST'、'PUT'、'DELETE'，默认值为'GET'

**`property`** {GC.Data.IRemoteFetchOption} options - 请求选项（类似Fetch API的RequestInit，可选）

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `method?` | ``"GET"`` \| ``"POST"`` \| ``"PUT"`` \| ``"DELETE"`` | 请求方法，如'GET'、'POST'、'PUT'、'DELETE'，默认值为'GET' |
| `options?` | [`IRemoteFetchOption`](GC.Data#iremotefetchoption) | 请求选项（类似Fetch API的RequestInit，可选） |
| `url` | `string` | 请求URL |

___

### <a id="iremotetransportoption" name="iremotetransportoption"></a> IRemoteTransportOption

Ƭ **IRemoteTransportOption**: `Object`

**`property`** {GC.Data.IRemoteReadRequestOption | GC.Data.RemoteReadHandler} read - 读取操作选项

**`property`** {GC.Data.IRemoteRequestOption | GC.Data.RemoteChangeHandler} create - 创建操作选项

**`property`** {GC.Data.IRemoteRequestOption | GC.Data.RemoteChangeHandler} update - 更新操作选项

**`property`** {GC.Data.IRemoteRequestOption | GC.Data.RemoteChangeHandler} delete - 删除操作选项

**`property`** {GC.Data.IRemoteRequestOption | GC.Data.RemoteChangeHandler} batch - 批量操作选项

**`property`** {GC.Data.IRemoteReadRequestOption | GC.Data.RemoteReadHandler} getColumns - 获取列操作选项

**`property`** {GC.Data.IRemoteRequestOption | GC.Data.RemoteChangeHandler} addColumn - 添加列操作选项

**`property`** {GC.Data.IRemoteRequestOption | GC.Data.RemoteChangeHandler} updateColumn - 更新列操作选项

**`property`** {GC.Data.IRemoteRequestOption | GC.Data.RemoteChangeHandler} removeColumn - 删除列操作选项

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `addColumn?` | [`IRemoteRequestOption`](GC.Data#iremoterequestoption) \| [`RemoteChangeHandler`](GC.Data#remotechangehandler) | 添加列操作选项 |
| `batch?` | [`IRemoteRequestOption`](GC.Data#iremoterequestoption) \| [`RemoteChangeHandler`](GC.Data#remotechangehandler) | 批量操作选项 |
| `create?` | [`IRemoteRequestOption`](GC.Data#iremoterequestoption) \| [`RemoteChangeHandler`](GC.Data#remotechangehandler) | 创建操作选项 |
| `delete?` | [`IRemoteRequestOption`](GC.Data#iremoterequestoption) \| [`RemoteChangeHandler`](GC.Data#remotechangehandler) | 删除操作选项 |
| `getColumns?` | [`IRemoteReadRequestOption`](GC.Data#iremotereadrequestoption) \| [`RemoteReadHandler`](GC.Data#remotereadhandler) | 获取列操作选项 |
| `read` | [`IRemoteReadRequestOption`](GC.Data#iremotereadrequestoption) \| [`RemoteReadHandler`](GC.Data#remotereadhandler) | 读取操作选项 |
| `removeColumn?` | [`IRemoteRequestOption`](GC.Data#iremoterequestoption) \| [`RemoteChangeHandler`](GC.Data#remotechangehandler) | 删除列操作选项 |
| `update?` | [`IRemoteRequestOption`](GC.Data#iremoterequestoption) \| [`RemoteChangeHandler`](GC.Data#remotechangehandler) | 更新操作选项 |
| `updateColumn?` | [`IRemoteRequestOption`](GC.Data#iremoterequestoption) \| [`RemoteChangeHandler`](GC.Data#remotechangehandler) | 更新列操作选项 |

___

### <a id="ischemaoption" name="ischemaoption"></a> ISchemaOption

Ƭ **ISchemaOption**: `Object`

**`property`** {string} type - 支持'json'、'csv'、'xml'、'columnJson'

**`property`** {string} dataPath - 数据读取器用于获取解析后的数据源集合，未指定时返回整个解析对象

**`property`** {GC.Data.IColumnCollection} columns - 当前表所有列的定义

**`property`** {GC.Data.IFormulaCollection} window - 窗口链所有公式的定义

**`property`** {GC.Data.IHierarchyOption} hierarchy - 层级结构选项定义

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `columns?` | [`IColumnCollection`](GC.Data#icolumncollection) | 当前表所有列的定义 |
| `dataPath?` | `string` | 数据读取器用于获取解析后的数据源集合，未指定时返回整个解析对象 |
| `hierarchy?` | [`IHierarchyOption`](GC.Data#ihierarchyoption) | 层级结构选项定义 |
| `type?` | `string` | 支持'json'、'csv'、'xml'、'columnJson' |
| `window?` | [`IFormulaCollection`](GC.Data#iformulacollection) | 窗口链所有公式的定义 |

___

### <a id="itriggerformulaoption" name="itriggerformulaoption"></a> ITriggerFormulaOption

Ƭ **ITriggerFormulaOption**: `Object`

**`property`** {string} when - 指示何时触发公式

**`property`** {string} formula - 要触发的公式

**`property`** {string} fields - 监控的字段，更新时可触发公式，"*" 表示任意字段，新增数据时可省略

**`description`** 定义触发公式的选项

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `fields?` | `string` | 监控的字段，更新时可触发公式，"*" 表示任意字段，新增数据时可省略 |
| `formula` | `string` | 要触发的公式 |
| `when` | ``"onNew"`` \| ``"onNewAndUpdate"`` | 指示何时触发公式 |

___

### <a id="icon" name="icon"></a> Icon

Ƭ **Icon**: `Object`

**`property`** {string} position - 图标位置，支持"left"(左侧)、"right"(右侧)、"leftOfText"(文本左侧)、"rightOfText"(文本右侧)、"outsideLeft"(外侧左)、"outsideRight"(外侧右)

**`property`** {number} width - 绘制宽度

**`property`** {number} height - 绘制高度

**`property`** {string} src - 图标路径

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `height?` | `number` | 绘制高度 |
| `position?` | ``"left"`` \| ``"right"`` \| ``"leftOfText"`` \| ``"rightOfText"`` \| ``"outsideLeft"`` \| ``"outsideRight"`` | 图标位置 |
| `src?` | `string` | 图标路径 |
| `width?` | `number` | 绘制宽度 |

___

### <a id="iconcriteriaoptions" name="iconcriteriaoptions"></a> IconCriteriaOptions

Ƭ **IconCriteriaOptions**: `Object`

**`property`** {boolean} isGreaterThanOrEqualTo - 若设置为true，使用大于或等于运算符计算值

**`property`** {GC.Data.IconValueType} iconValueType - 图标值类型

**`property`** {number|string} iconValue - 图标值

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `iconValue` | `number` \| `string` | 图标值 |
| `iconValueType` | [`IconValueType`](GC.Data#iconvaluetype) | 图标值类型 |
| `isGreaterThanOrEqualTo` | `boolean` | 若设置为true，使用大于或等于运算符计算值 |

___

### <a id="iconoptions" name="iconoptions"></a> IconOptions

Ƭ **IconOptions**: `Object`

**`property`** {GC.Data.IconSetType} iconSetType - 图标集类型

**`property`** {number} iconIndex - 自定义图标索引

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `iconIndex` | `number` | 自定义图标索引 |
| `iconSetType` | [`IconSetType`](GC.Data#iconsettype) | 图标集类型 |

___

### <a id="iconsetruleoptions" name="iconsetruleoptions"></a> IconSetRuleOptions

Ƭ **IconSetRuleOptions**: `Object`

**`property`** {"iconSetRule"} ruleType - 若要使用图标集规则，需指定此规则类型

**`property`** {GC.Data.IconSetType} iconSetType - 图标集类型

**`property`** {boolean} reverseIconOrder - 是否反转图标顺序

**`property`** {boolean} showIconOnly - 是否仅显示图标

**`property`** {GC.Data.IconOptions[]} icons - 图标选项数组

**`property`** {number} priority - 规则的优先级

**`property`** {boolean} stopIfTrue - 在应用此规则前是否应用优先级较低的规则

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `iconSetType` | [`IconSetType`](GC.Data#iconsettype) | 图标集类型 |
| `icons` | [`IconOptions`](GC.Data#iconoptions)[] | 图标选项数组 |
| `priority` | `number` | 规则的优先级 |
| `reverseIconOrder` | `boolean` | 是否反转图标顺序 |
| `ruleType` | ``"iconSetRule"`` | 若要使用图标集规则，需指定此规则类型 |
| `showIconOnly` | `boolean` | 是否仅显示图标 |
| `stopIfTrue` | `boolean` | 在应用此规则前是否应用优先级较低的规则 |

___

### <a id="iconsettype" name="iconsettype"></a> IconSetType

Ƭ **IconSetType**: ``"threeArrowsColored"`` \| ``"threeArrowsGray"`` \| ``"threeTriangles"`` \| ``"threeStars"`` \| ``"threeFlags"`` \| ``"threeTrafficLightsUnrimmed"`` \| ``"threeTrafficLightsRimmed"`` \| ``"threeSigns"`` \| ``"threeSymbolsCircled"`` \| ``"threeSymbolsUncircled"`` \| ``"fourArrowsColored"`` \| ``"fourArrowsGray"`` \| ``"fourRedToBlack"`` \| ``"fourRatings"`` \| ``"fourTrafficLights"`` \| ``"fiveArrowsColored"`` \| ``"fiveArrowsGray"`` \| ``"fiveRatings"`` \| ``"fiveQuarters"`` \| ``"fiveBoxes"`` \| ``"noIcons"``

**`description`** 图标集类型

___

### <a id="iconvaluetype" name="iconvaluetype"></a> IconValueType

Ƭ **IconValueType**: ``"number"`` \| ``"percent"`` \| ``"formula"`` \| ``"percentile"``

**`description`** 图标值类型

___

### <a id="itemoptions" name="itemoptions"></a> ItemOptions

Ƭ **ItemOptions**: `Object`

**`property`** {string} text - 条目文本

**`property`** {Object} value - 条目值，可以是数字、字符串、布尔值、日期

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `text` | `string` | 条目文本 |
| `value` | `any` | 条目值，可以是数字、字符串、布尔值、日期 |

___

### <a id="labeloptions" name="labeloptions"></a> LabelOptions

Ƭ **LabelOptions**: `Object`

**`property`** {string} alignment - 单元格标签位置，支持"topLeft"(左上)、"topCenter"(中上)、"topRight"(右上)、"bottomLeft"(左下)、"bottomCenter"(中下)、"bottomRight"(右下)

**`property`** {string} visibility - 单元格标签可见性，支持"visible"(可见)、"hidden"(隐藏)、"auto"(自动)

**`property`** {string} font - 单元格标签字体

**`property`** {string} foreColor - 单元格标签前景色

**`property`** {string} margin - 单元格标签边距

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `alignment` | ``"topLeft"`` \| ``"topCenter"`` \| ``"topRight"`` \| ``"bottomLeft"`` \| ``"bottomCenter"`` \| ``"bottomRight"`` | 单元格标签位置 |
| `font` | `string` | 单元格标签字体 |
| `foreColor` | `string` | 单元格标签前景色 |
| `margin` | `string` | 单元格标签边距 |
| `visibility` | ``"visible"`` \| ``"hidden"`` \| ``"auto"`` | 单元格标签可见性 |

___

### <a id="lineborder" name="lineborder"></a> LineBorder

Ƭ **LineBorder**: `Object`

**`property`** {string} color - 边框颜色

**`property`** {string} style - 边框样式，支持"empty"(无)、"thin"(细)、"medium"(中)、"dashed"(虚线)、"dotted"(点线)、"thick"(粗)、"double"(双线)、"hair"(极细)、"mediumDashed"(中虚线)、"dashDot"(点划线)、"mediumDashDot"(中点划线)、"dashDotDot"(双点划线)、"mediumDashDotDot"(中双点划线)、"slantedDashDot"(斜点划线)

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `color` | `string` | 边框颜色。 |
| `style` | ``"empty"`` \| ``"thin"`` \| ``"medium"`` \| ``"dashed"`` \| ``"dotted"`` \| ``"thick"`` \| ``"double"`` \| ``"hair"`` \| ``"mediumDashed"`` \| ``"dashDot"`` \| ``"mediumDashDot"`` \| ``"dashDotDot"`` \| ``"mediumDashDotDot"`` \| ``"slantedDashDot"`` | 边框样式，支持 "empty"、"thin"、"medium"、"dashed"、"dotted"、"thick"、"double"、"hair"、"mediumDashed"、"dashDot"、"mediumDashDot"、"dashDotDot"、"mediumDashDotDot"、"slantedDashDot"。 |

___

### <a id="listitem" name="listitem"></a> ListItem

Ƭ **ListItem**: `Object`

**`property`** {string} text - 项文本

**`property`** {string} value - 项值

**`property`** {string} icon - 项图标

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `icon?` | `string` | 项图标 |
| `text?` | `string` | 项文本 |
| `value?` | `string` | 项值 |

___

### <a id="listlayout" name="listlayout"></a> ListLayout

Ƭ **ListLayout**: `Object`

**`property`** {string} direction - 布局方向，支持"horizontal"(水平)、"vertical"(垂直)

**`property`** {string} displayAs - 布局显示方式，支持"inline"(内联)、"popup"(弹出)、"tree"(树状)

**`property`** {boolean} collapsible - 列表是否可折叠

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `collapsible?` | `boolean` | 列表是否可折叠 |
| `direction?` | ``"horizontal"`` \| ``"vertical"`` | 布局方向 |
| `displayAs?` | ``"inline"`` \| ``"popup"`` \| ``"tree"`` | 布局显示方式 |

___

### <a id="listoptions" name="listoptions"></a> ListOptions

Ƭ **ListOptions**: `Object`

**`property`** {string} text - 文本

**`property`** {GC.Data.ListLayout} layout - 布局

**`property`** {boolean} multiSelect - 是否设置为多选列表

**`property`** {string} valueType - 下拉列表结果的单元格值类型，支持"string"(字符串)、"array"(数组)

**`property`** {GC.Data.ListItem[] | GC.Data.ListOptions[] | Function} items - 列表项。通常接受数组，特殊情况下可接受函数（返回DOM元素）

**`property`** {Function} onItemSelected - 选中项或子项时触发的回调

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `items` | [`ListItem`](GC.Data#listitem)[] \| [`ListOptions`](GC.Data#listoptions)[] \| () => `HTMLElement` | 返回DOM元素的函数 |
| `layout?` | [`ListLayout`](GC.Data#listlayout) | 布局 |
| `multiSelect?` | `boolean` | 是否设置为多选列表 |
| `text?` | `string` | 文本 |
| `valueType?` | ``"string"`` \| ``"array"`` | 下拉列表结果的单元格值类型 |
| `onItemSelected?` | (`e`: `MouseEvent`) => `string` | 选中项时的回调（当items为函数时使用） |

___

### <a id="liststring" name="liststring"></a> ListString

Ƭ **ListString**: `string`

**`description`** 列表类型字符串，如"1,2,3"。

___

### <a id="listvalidatoroptions" name="listvalidatoroptions"></a> ListValidatorOptions

Ƭ **ListValidatorOptions**: `Object`

**`property`** {"list"} type - 数据验证器类型

**`property`** {GC.Data.ListString} source - 数据验证器来源

**`property`** {boolean} ignoreBlank - 是否忽略空值

**`property`** {boolean} inCellDropdown - 是否显示下拉按钮

**`property`** {GC.Data.ErrorStyle} errorStyle - 数据验证错误样式

**`property`** {string} errorTitle - 数据验证错误标题

**`property`** {string} errorMessage - 数据验证错误消息

**`property`** {boolean} showErrorMessage - 是否显示错误消息

**`property`** {string} inputMessage - 数据验证输入提示消息

**`property`** {string} inputTitle - 数据验证输入提示标题

**`property`** {boolean} showInputMessage - 是否显示输入提示消息

**`property`** {GC.Data.HighlightStyle} highlightStyle - 数据验证高亮样式

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `errorMessage` | `string` | 数据验证错误消息 |
| `errorStyle` | [`ErrorStyle`](GC.Data#errorstyle) | 数据验证错误样式 |
| `errorTitle` | `string` | 数据验证错误标题 |
| `highlightStyle` | [`HighlightStyle`](GC.Data#highlightstyle) | 数据验证高亮样式 |
| `ignoreBlank` | `boolean` | 是否忽略空值 |
| `inCellDropdown` | `boolean` | 是否显示下拉按钮 |
| `inputMessage` | `string` | 数据验证输入提示消息 |
| `inputTitle` | `string` | 数据验证输入提示标题 |
| `showErrorMessage` | `boolean` | 是否显示错误消息 |
| `showInputMessage` | `boolean` | 是否显示输入提示消息 |
| `source` | [`ListString`](GC.Data#liststring) | 数据验证器来源 |
| `type` | ``"list"`` | 数据验证器类型 |

___

### <a id="masktype" name="masktype"></a> MaskType

Ƭ **MaskType**: `Object`

**`property`** {string} pattern - 掩码模式

**`property`** {string} placeholder - 掩码占位符

**`property`** {boolean} excludeLiteral - 是否排除文本字符

**`property`** {boolean} excludePlaceholder - 是否排除占位符

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `excludeLiteral?` | `boolean` | 是否排除文本字符 |
| `excludePlaceholder?` | `boolean` | 是否排除占位符 |
| `pattern` | `string` | 掩码模式 |
| `placeholder?` | `string` | 掩码占位符 |

___

### <a id="monthpickeroptions" name="monthpickeroptions"></a> MonthPickerOptions

Ƭ **MonthPickerOptions**: `Object`

**`property`** {number} startYear - 月份选择器的起始年份，默认值为十年前

**`property`** {number} stopYear - 月份选择器的结束年份，默认值为当年

**`property`** {number} height - 月份选择器DOM元素的高度，默认值为300

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `height` | `number` | 月份选择器DOM元素的高度，默认值为300 |
| `startYear` | `number` | 月份选择器的起始年份，默认值为十年前 |
| `stopYear` | `number` | 月份选择器的结束年份，默认值为当年 |

___

### <a id="multicolumnoptions" name="multicolumnoptions"></a> MultiColumnOptions

Ƭ **MultiColumnOptions**: `Object`

**`property`** {number} width - 用户可自定义多列下拉的宽度，默认值为800与自动计算的列宽最小值

**`property`** {number} height - 用户可自定义多列下拉的高度，默认值为400与自动计算的行高最小值

**`property`** {string | Object[]} dataSource - 用户需指定绑定的数据源（必填），支持数组或返回数组的公式

**`property`** {GC.Data.ColumnBindingInfo[]} bindingInfos - 用户可自定义绑定的列信息

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `bindingInfos?` | [`ColumnBindingInfo`](GC.Data#columnbindinginfo)[] | 用户可自定义绑定的列信息 |
| `dataSource` | `string` \| `any`[] | 用户需指定绑定的数据源（必填），支持数组或返回数组的公式 |
| `height?` | `number` | 用户可自定义多列下拉的高度，默认值为400与自动计算的行高最小值 |
| `width?` | `number` | 用户可自定义多列下拉的宽度，默认值为800与自动计算的列宽最小值 |

___

### <a id="numbervalidatoroptions" name="numbervalidatoroptions"></a> NumberValidatorOptions

Ƭ **NumberValidatorOptions**: `Object`

**`property`** {"number"} type - 数据验证器类型

**`property`** {GC.Data.CellValueComparisonOperator} comparisonOperator - 数据验证比较运算符

**`property`** {number | GC.Data.FormulaString} value1 - 数据验证器第一个值

**`property`** {number | GC.Data.FormulaString} value2 - 当验证比较运算符为"between"或"notBetween"时的第二个值（可选）

**`property`** {boolean} isIntegerValue - 当验证器类型为"number"时是否为整数值

**`property`** {boolean} ignoreBlank - 是否忽略空值

**`property`** {boolean} inCellDropdown - 是否显示下拉按钮

**`property`** {GC.Data.ErrorStyle} errorStyle - 数据验证错误样式

**`property`** {string} errorTitle - 数据验证错误标题

**`property`** {string} errorMessage - 数据验证错误消息

**`property`** {boolean} showErrorMessage - 是否显示错误消息

**`property`** {string} inputMessage - 数据验证输入提示消息

**`property`** {string} inputTitle - 数据验证输入提示标题

**`property`** {boolean} showInputMessage - 是否显示输入提示消息

**`property`** {GC.Data.HighlightStyle} highlightStyle - 数据验证高亮样式

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `comparisonOperator` | [`CellValueComparisonOperator`](GC.Data#cellvaluecomparisonoperator) | 数据验证比较运算符 |
| `errorMessage` | `string` | 数据验证错误消息 |
| `errorStyle` | [`ErrorStyle`](GC.Data#errorstyle) | 数据验证错误样式 |
| `errorTitle` | `string` | 数据验证错误标题 |
| `highlightStyle` | [`HighlightStyle`](GC.Data#highlightstyle) | 数据验证高亮样式 |
| `ignoreBlank` | `boolean` | 是否忽略空值 |
| `inCellDropdown` | `boolean` | 是否显示下拉按钮 |
| `inputMessage` | `string` | 数据验证输入提示消息 |
| `inputTitle` | `string` | 数据验证输入提示标题 |
| `isIntegerValue` | `boolean` | 当验证器类型为"number"时是否为整数值 |
| `showErrorMessage` | `boolean` | 是否显示错误消息 |
| `showInputMessage` | `boolean` | 是否显示输入提示消息 |
| `type` | ``"number"`` | 数据验证器类型 |
| `value1` | `number` \| [`FormulaString`](GC.Data#formulastring) | 数据验证器第一个值 |
| `value2?` | `number` \| [`FormulaString`](GC.Data#formulastring) | 当验证比较运算符为"between"或"notBetween"时的第二个值（可选） |

___

### <a id="patternfilloptions" name="patternfilloptions"></a> PatternFillOptions

Ƭ **PatternFillOptions**: `Object`

**`property`** {string} type - 图案填充类型，支持"solid"(纯色)、"darkGray"(深灰)、"mediumGray"(中灰)、"lightGray"(浅灰)、"gray125"(12.5%灰)、"gray0625"(6.25%灰)、"darkHorizontal"(深水平条纹)、"darkVertical"(深垂直条纹)、"darkDown"(深向下斜线)、"darkUp"(深向上斜线)、"darkGrid"(深网格)、"darkTrellis"(深格线)、"lightHorizontal"(浅水平条纹)、"lightVertical"(浅垂直条纹)、"lightDown"(浅向下斜线)、"lightUp"(浅向上斜线)、"lightGrid"(浅网格)、"lightTrellis"(浅格线)

**`property`** {string} patternColor - 图案填充颜色

**`property`** {string} backgroundColor - 图案填充背景颜色（可选）

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `backgroundColor?` | `string` | 图案填充背景颜色（可选） |
| `patternColor` | `string` | 图案填充颜色 |
| `type` | ``"solid"`` \| ``"darkGray"`` \| ``"mediumGray"`` \| ``"lightGray"`` \| ``"gray125"`` \| ``"gray0625"`` \| ``"darkHorizontal"`` \| ``"darkVertical"`` \| ``"darkDown"`` \| ``"darkUp"`` \| ``"darkGrid"`` \| ``"darkTrellis"`` \| ``"lightHorizontal"`` \| ``"lightVertical"`` \| ``"lightDown"`` \| ``"lightUp"`` \| ``"lightGrid"`` \| ``"lightTrellis"`` | 图案填充类型 |

___

### <a id="radiobuttoncheckboxlistoptions" name="radiobuttoncheckboxlistoptions"></a> RadioButtonCheckboxListOptions

Ƭ **RadioButtonCheckboxListOptions**: `Object`

**`property`** {string} type - 单元格类型，支持"radioButtonList"(单选按钮列表)、"checkboxList"(复选框列表)

**`property`** {GC.Data.ItemOptions[]} items - 选项列表，支持包含text和value的对象数组

**`property`** {string} direction - 单选框/复选框排列方向，支持"horizontal"(水平)、"vertical"(垂直)

**`property`** {number} maxColumnCount - 最大列数

**`property`** {number} maxRowCount - 最大行数

**`property`** {boolean} isFlowLayout - 是否为流式布局（自动适配）

**`property`** {Object} itemSpacing - 选项间距

**`property`** {number} itemSpacing.horizontal - 水平间距

**`property`** {number} itemSpacing.vertical - 垂直间距

**`property`** {string} textAlign - 文本相对控件的对齐方式，支持"left"(左对齐)、"right"(右对齐)

**`property`** {number} boxSize - 控件大小（像素）

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `boxSize?` | `number` | 控件大小（像素） |
| `direction?` | ``"horizontal"`` \| ``"vertical"`` | 排列方向 |
| `isFlowLayout?` | `boolean` | 是否为流式布局（自动适配） |
| `itemSpacing?` | { `horizontal`: `number` ; `vertical`: `number`  } | 选项间距 |
| `itemSpacing.horizontal` | `number` | - |
| `itemSpacing.vertical` | `number` | - |
| `items` | [`ItemOptions`](GC.Data#itemoptions)[] | 选项列表 |
| `maxColumnCount?` | `number` | 最大列数 |
| `maxRowCount?` | `number` | 最大行数 |
| `textAlign?` | ``"left"`` \| ``"right"`` | 文本对齐方式 |
| `type` | ``"radioButtonList"`` \| ``"checkboxList"`` | 单元格类型 |

___

### <a id="remotechangehandler" name="remotechangehandler"></a> RemoteChangeHandler

Ƭ **RemoteChangeHandler**: (`data`: `Object` \| `Object`[], `options`: [`IRemoteFetchOption`](GC.Data#iremotefetchoption)) => `Promise`<`Object` \| `Object`[]\>

#### Type declaration

▸ (`data`, `options`): `Promise`<`Object` \| `Object`[]\>

**`description`** 处理数据变更

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `data` | `Object` \| `Object`[] | 数据变更内容 |
| `options` | [`IRemoteFetchOption`](GC.Data#iremotefetchoption) | 处理器选项（类似Fetch API的RequestInit） |

##### Returns

`Promise`<`Object` \| `Object`[]\>

处理器返回值

___

### <a id="remotereadhandler" name="remotereadhandler"></a> RemoteReadHandler

Ƭ **RemoteReadHandler**: (`options`: `Object`) => `Promise`<`Object`[]\>

#### Type declaration

▸ (`options`): `Promise`<`Object`[]\>

**`description`** 处理数据读取

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options` | `Object` | 处理器选项（类似Fetch API的RequestInit） |

##### Returns

`Promise`<`Object`[]\>

处理器返回值

___

### <a id="scalevaluetype" name="scalevaluetype"></a> ScaleValueType

Ƭ **ScaleValueType**: ``"number"`` \| ``"lowestValue"`` \| ``"highestValue"`` \| ``"percent"`` \| ``"percentile"`` \| ``"automin"`` \| ``"formula"`` \| ``"automax"``

**`description`** 比例值类型

___

### <a id="slideroptions" name="slideroptions"></a> SliderOptions

Ƭ **SliderOptions**: `Object`

**`property`** {boolean} scaleVisible - 滑块 thumb 是否仅可在刻度上拖动（默认值：false）

**`property`** {number} max - 滑块可滑动到的最大值（默认值：100）

**`property`** {number} min - 滑块可滑动到的最小值（默认值：0）

**`property`** {number} step - 滑块取值的粒度（必须大于0且能被(max - min)整除；当marks不为空时step可为空，默认值：1）

**`property`** {boolean} tooltipVisible - 是否始终显示提示框（true则始终显示，否则即使拖动/悬停也不显示，默认值：false）

**`property`** {number} width - 水平方向时滑块的宽度（默认值：350）

**`property`** {number} height - 垂直方向时滑块的高度（默认值：350）

**`property`** {string} direction - 滑块方向（支持"horizontal"(水平)、"vertical"(垂直)，默认值：horizontal）

**`property`** {number[]} marks - 滑块刻度标记

**`property`** {string} formatString - 用于提示框或刻度的显示格式字符串

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `direction` | ``"horizontal"`` \| ``"vertical"`` | 滑块方向（支持"horizontal"(水平)、"vertical"(垂直)，默认值：horizontal） |
| `formatString` | `string` | 用于提示框或刻度的显示格式字符串 |
| `height` | `number` | 垂直方向时滑块的高度（默认值：350） |
| `marks` | `number`[] | 滑块刻度标记 |
| `max` | `number` | 滑块可滑动到的最大值（默认值：100） |
| `min` | `number` | 滑块可滑动到的最小值（默认值：0） |
| `scaleVisible` | `boolean` | 滑块 thumb 是否仅可在刻度上拖动（默认值：false） |
| `step` | `number` | 滑块取值的粒度（必须大于0且能被(max - min)整除；当marks不为空时step可为空，默认值：1） |
| `tooltipVisible` | `boolean` | 是否始终显示提示框（true则始终显示，否则即使拖动/悬停也不显示，默认值：false） |
| `width` | `number` | 水平方向时滑块的宽度（默认值：350） |

___

### <a id="sparklineruleoptions" name="sparklineruleoptions"></a> SparklineRuleOptions

Ƭ **SparklineRuleOptions**: `Object`

**`property`** {"sparklineRule"} ruleType - 若要使用迷你图规则，需指定此规则类型。

**`property`** {string} sparklineType - 迷你图类型。

**`property`** {any} sparklineOptions - 迷你图选项。

**`property`** {boolean} showSparklineOnly - 是否仅显示迷你图。

**`property`** {number} priority - 规则的优先级。

**`property`** {boolean} stopIfTrue - 在应用此规则前是否应用优先级较低的规则。

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `priority` | `number` | 规则的优先级。 |
| `ruleType` | ``"sparklineRule"`` | 若要使用迷你图规则，需指定此规则类型。 |
| `showSparklineOnly` | `boolean` | 是否仅显示迷你图。 |
| `sparklineOptions` | `any` | 迷你图选项。 |
| `sparklineType` | `string` | 表示迷你图类型。 |
| `stopIfTrue` | `boolean` | 在应用此规则前是否应用优先级较低的规则。 |

___

### <a id="specifictextcomparisonoperator" name="specifictextcomparisonoperator"></a> SpecificTextComparisonOperator

Ƭ **SpecificTextComparisonOperator**: ``"contains"`` \| ``"doesNotContain"`` \| ``"beginsWith"`` \| ``"endsWith"``

**`description`** 特定文本比较运算符

___

### <a id="specifictextruleoptions" name="specifictextruleoptions"></a> SpecificTextRuleOptions

Ƭ **SpecificTextRuleOptions**: `Object`

**`property`** {"specificTextRule"} ruleType - 若使用特定文本规则，需指定此规则类型

**`property`** {GC.Data.SpecificTextComparisonOperator} comparisonOperator - 特定文本比较运算符

**`property`** {string} text - 特定文本

**`property`** {GC.Data.StyleOptions} style - 条件满足时应用于单元格的样式

**`property`** {number} priority - 规则优先级

**`property`** {boolean} stopIfTrue - 是否在应用此规则前先应用优先级较低的规则

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `comparisonOperator` | [`SpecificTextComparisonOperator`](GC.Data#specifictextcomparisonoperator) | 特定文本比较运算符 |
| `priority` | `number` | 规则优先级 |
| `ruleType` | ``"specificTextRule"`` | 若使用特定文本规则，需指定此规则类型 |
| `stopIfTrue` | `boolean` | 是否在应用此规则前先应用优先级较低的规则 |
| `style` | [`StyleOptions`](GC.Data#styleoptions) | 条件满足时应用于单元格的样式 |
| `text` | `string` | 特定文本 |

___

### <a id="staterule" name="staterule"></a> StateRule

Ƭ **StateRule**: `Object`

**`property`** {GC.Data.StateRuleDirection} direction - 状态规则方向

**`property`** {GC.Data.RowColumnStates} state - 状态

**`property`** {GC.Data.ViewArea} [area] - 规则作用区域（可选）

**`description`** 状态规则

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `area?` | [`ViewArea`](../enums/GC.Data.ViewArea) | 规则作用区域 |
| `direction` | [`StateRuleDirection`](../enums/GC.Data.StateRuleDirection) | 状态规则方向 |
| `state` | [`RowColumnStates`](../enums/GC.Data.RowColumnStates) | 状态 |

___

### <a id="styleoptions" name="styleoptions"></a> StyleOptions

Ƭ **StyleOptions**: `Object`

**`property`** {string | GC.Data.PatternFillOptions | GC.Data.GradientFillOptions | GC.Data.GradientPathFillOptions} backColor - 背景颜色字符串或图案填充选项、渐变填充选项、渐变路径填充选项

**`property`** {string} foreColor - 前景色

**`property`** {string} hAlign - 水平对齐方式，支持"left"(左)、"center"(居中)、"right"(右)、"general"(常规)

**`property`** {string} vAlign - 垂直对齐方式，支持"top"(上)、"center"(居中)、"bottom"(下)

**`property`** {string} font - 字体

**`property`** {string} themeFont - 主题字体

**`property`** {string} formatter - 格式化字符串

**`property`** {GC.Data.LineBorder} borderLeft - 左边框

**`property`** {GC.Data.LineBorder} borderTop - 上边框

**`property`** {GC.Data.LineBorder} borderRight - 右边框

**`property`** {GC.Data.LineBorder} borderBottom - 下边框

**`property`** {GC.Data.LineBorder} diagonalDown - 从左上到右下的对角线边框

**`property`** {GC.Data.LineBorder} diagonalUp - 从右上到左下的对角线边框

**`property`** {boolean} locked - 单元格、行或列是否锁定

**`property`** {number} textIndent - 文本缩进量

**`property`** {boolean} wordWrap - 文本是否在单元格内换行

**`property`** {boolean} shrinkToFit - 内容是否自动缩小以适应单元格

**`property`** {string} backgroundImage - 要显示的背景图片

**`property`** {GC.Data.CheckboxOptions | GC.Data.ComboBoxOptions | GC.Data.HyperlinkOptions | GC.Data.FileUploadOptions | GC.Data.RadioButtonCheckboxListOptions} cellType - 单元格类型

**`property`** {string} backgroundImageLayout - 背景图片布局方式，支持"stretch"(拉伸)、"center"(居中)、"zoom"(缩放)、"none"(无)

**`property`** {boolean} tabStop - 用户是否可通过Tab键聚焦到该单元格

**`property`** {GC.Data.TextDecoration} textDecoration - 文本装饰样式

**`property`** {string} imeMode - 输入法编辑器模式，支持"auto"(自动)、"active"(激活)、"inactive"(非激活)、"disabled"(禁用)

**`property`** {string} name - 名称

**`property`** {string} parentName - 父样式名称

**`property`** {string} watermark - 水印内容

**`property`** {string} cellPadding - 单元格内边距

**`property`** {GC.Data.LabelOptions} labelOptions - 单元格标签选项

**`property`** {boolean} isVerticalText - 是否将单元格文本设置为垂直方向

**`property`** {number} textOrientation - 单元格文本旋转角度

**`property`** {boolean} showEllipsis - 文本超出边界时是否显示省略号

**`property`** {GC.Data.CellButtonOptions[]} cellButtons - 单元格按钮

**`property`** {GC.Data.DropDownOptions[]} dropDowns - 下拉选项

**`property`** {GC.Data.Decoration} decoration - 装饰样式

**`property`** {GC.Data.MaskType} mask - 掩码

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `backColor?` | `string` \| [`PatternFillOptions`](GC.Data#patternfilloptions) \| [`GradientFillOptions`](GC.Data#gradientfilloptions) \| [`GradientPathFillOptions`](GC.Data#gradientpathfilloptions) | 背景颜色字符串或图案填充选项、渐变填充选项、渐变路径填充选项 |
| `backgroundImage?` | `string` | 要显示的背景图片 |
| `backgroundImageLayout?` | ``"stretch"`` \| ``"center"`` \| ``"zoom"`` \| ``"none"`` | 背景图片布局方式，支持"stretch"(拉伸)、"center"(居中)、"zoom"(缩放)、"none"(无) |
| `borderBottom?` | [`LineBorder`](GC.Data#lineborder) | 下边框 |
| `borderLeft?` | [`LineBorder`](GC.Data#lineborder) | 左边框 |
| `borderRight?` | [`LineBorder`](GC.Data#lineborder) | 右边框 |
| `borderTop?` | [`LineBorder`](GC.Data#lineborder) | 上边框 |
| `cellButtons?` | [`CellButtonOptions`](GC.Data#cellbuttonoptions)[] | 单元格按钮 |
| `cellPadding?` | `string` | 单元格内边距 |
| `cellType?` | [`CheckboxOptions`](GC.Data#checkboxoptions) \| [`ComboBoxOptions`](GC.Data#comboboxoptions) \| [`HyperlinkOptions`](GC.Data#hyperlinkoptions) \| [`FileUploadOptions`](GC.Data#fileuploadoptions) \| [`RadioButtonCheckboxListOptions`](GC.Data#radiobuttoncheckboxlistoptions) \| [`ButtonListOptions`](GC.Data#buttonlistoptions) \| [`CustomCellTypeOptions`](GC.Data#customcelltypeoptions) | 单元格类型 |
| `decoration?` | [`Decoration`](GC.Data#decoration) | 装饰样式 |
| `diagonalDown?` | [`LineBorder`](GC.Data#lineborder) | 从左上到右下的对角线边框 |
| `diagonalUp?` | [`LineBorder`](GC.Data#lineborder) | 从右上到左下的对角线边框 |
| `dropDowns?` | [`DropDownOptions`](GC.Data#dropdownoptions)[] | 下拉选项 |
| `font?` | `string` | 字体 |
| `foreColor?` | `string` | 前景色 |
| `formatter?` | `string` | 格式化字符串 |
| `hAlign?` | ``"left"`` \| ``"center"`` \| ``"right"`` \| ``"general"`` | 水平对齐方式，支持"left"(左)、"center"(居中)、"right"(右)、"general"(常规) |
| `imeMode?` | ``"auto"`` \| ``"active"`` \| ``"inactive"`` \| ``"disabled"`` | 输入法编辑器模式，支持"auto"(自动)、"active"(激活)、"inactive"(非激活)、"disabled"(禁用) |
| `isVerticalText?` | `boolean` | 是否将单元格文本设置为垂直方向 |
| `labelOptions?` | [`LabelOptions`](GC.Data#labeloptions) | 单元格标签选项 |
| `locked?` | `boolean` | 单元格、行或列是否锁定 |
| `mask?` | [`MaskType`](GC.Data#masktype) | 掩码 |
| `name?` | `string` | 名称 |
| `parentName?` | `string` | 父样式名称 |
| `showEllipsis?` | `boolean` | 文本超出边界时是否显示省略号 |
| `shrinkToFit?` | `boolean` | 内容是否自动缩小以适应单元格 |
| `tabStop?` | `boolean` | 用户是否可通过Tab键聚焦到该单元格 |
| `textDecoration?` | [`TextDecoration`](GC.Data#textdecoration) | 文本装饰样式 |
| `textIndent?` | `number` | 文本缩进量 |
| `textOrientation?` | `number` | 单元格文本旋转角度 |
| `themeFont?` | `string` | 主题字体 |
| `vAlign?` | ``"top"`` \| ``"center"`` \| ``"bottom"`` | 垂直对齐方式，支持"top"(上)、"center"(居中)、"bottom"(下) |
| `watermark?` | `string` | 水印内容 |
| `wordWrap?` | `boolean` | 文本是否在单元格内换行 |

___

### <a id="stylerule" name="stylerule"></a> StyleRule

Ƭ **StyleRule**: `Object`

**`property`** {GC.Data.FormulaRule | GC.Data.StateRule} [rule] - 样式规则（公式规则或状态规则）

**`property`** {GC.Data.StyleOptions} [style] - 规则满足时应用的样式

**`description`** 样式规则

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `rule?` | [`FormulaRule`](GC.Data#formularule) \| [`StateRule`](GC.Data#staterule) | 公式规则或状态规则 |
| `style?` | [`StyleOptions`](GC.Data#styleoptions) | 规则满足时应用的样式 |

___

### <a id="stylerules" name="stylerules"></a> StyleRules

Ƭ **StyleRules**: `Object`

**`property`** {GC.Data.StyleRule} name - 样式规则

**`description`** 样式规则集合

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `name` | [`StyleRule`](GC.Data#stylerule) | 样式规则 |

___

### <a id="textdecoration" name="textdecoration"></a> TextDecoration

Ƭ **TextDecoration**: ``"underline"`` \| ``"lineThrough"`` \| ``"overline"`` \| ``"doubleUnderline"`` \| ``"none"`` \| ``"lineThroughUnderline"`` \| ``"lineThroughDoubleUnderline"`` \| ``"accountingUnderline"`` \| ``"doubleAccountingUnderline"`` \| ``"lineThroughAccountingUnderline"`` \| ``"lineThroughDoubleAccountingUnderline"``

**`description`** 文本装饰类型

___

### <a id="textlengthstring" name="textlengthstring"></a> TextLengthString

Ƭ **TextLengthString**: `string`

**`description`** 文本长度类型字符串，例如"10"

___

### <a id="textlengthvalidatoroptions" name="textlengthvalidatoroptions"></a> TextLengthValidatorOptions

Ƭ **TextLengthValidatorOptions**: `Object`

**`property`** {"textLength"} type - 数据验证器类型

**`property`** {GC.Data.CellValueComparisonOperator} comparisonOperator - 数据验证比较运算符

**`property`** {GC.Data.TextLengthString | GC.Data.FormulaString} value1 - 数据验证器第一个值

**`property`** {GC.Data.TextLengthString | GC.Data.FormulaString} value2 - 当验证比较运算符为"between"或"notBetween"时的第二个值（可选）

**`property`** {boolean} ignoreBlank - 是否忽略空值

**`property`** {boolean} inCellDropdown - 是否显示下拉按钮

**`property`** {GC.Data.ErrorStyle} errorStyle - 数据验证错误样式

**`property`** {string} errorTitle - 数据验证错误标题

**`property`** {string} errorMessage - 数据验证错误消息

**`property`** {boolean} showErrorMessage - 是否显示错误消息

**`property`** {string} inputMessage - 数据验证输入提示消息

**`property`** {string} inputTitle - 数据验证输入提示标题

**`property`** {boolean} showInputMessage - 是否显示输入提示消息

**`property`** {GC.Data.HighlightStyle} highlightStyle - 数据验证高亮样式

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `comparisonOperator` | [`CellValueComparisonOperator`](GC.Data#cellvaluecomparisonoperator) | 数据验证比较运算符 |
| `errorMessage` | `string` | 数据验证错误消息 |
| `errorStyle` | [`ErrorStyle`](GC.Data#errorstyle) | 数据验证错误样式 |
| `errorTitle` | `string` | 数据验证错误标题 |
| `highlightStyle` | [`HighlightStyle`](GC.Data#highlightstyle) | 数据验证高亮样式 |
| `ignoreBlank` | `boolean` | 是否忽略空值 |
| `inCellDropdown` | `boolean` | 是否显示下拉按钮 |
| `inputMessage` | `string` | 数据验证输入提示消息 |
| `inputTitle` | `string` | 数据验证输入提示标题 |
| `showErrorMessage` | `boolean` | 是否显示错误消息 |
| `showInputMessage` | `boolean` | 是否显示输入提示消息 |
| `type` | ``"textLength"`` | 数据验证器类型 |
| `value1` | [`TextLengthString`](GC.Data#textlengthstring) \| [`FormulaString`](GC.Data#formulastring) | 数据验证器第一个值 |
| `value2?` | [`TextLengthString`](GC.Data#textlengthstring) \| [`FormulaString`](GC.Data#formulastring) | 当验证比较运算符为"between"或"notBetween"时的第二个值（可选） |

___

### <a id="threescaleruleoptions" name="threescaleruleoptions"></a> ThreeScaleRuleOptions

Ƭ **ThreeScaleRuleOptions**: `Object`

**`property`** {"threeScaleRule"} ruleType - 若使用三刻度规则，需指定此规则类型

**`property`** {GC.Data.ScaleValueType} minType - 最小值刻度类型

**`property`** {number} minValue - 最小值刻度值

**`property`** {GC.Data.ColorString} minColor - 最小值刻度颜色字符串

**`property`** {GC.Data.ScaleValueType} midType - 中点刻度类型

**`property`** {number} midValue - 中点刻度值

**`property`** {GC.Data.ColorString} midColor - 中点刻度颜色字符串

**`property`** {GC.Data.ScaleValueType} maxType - 最大值刻度类型

**`property`** {number} maxValue - 最大值刻度值

**`property`** {GC.Data.ColorString} maxColor - 最大值刻度颜色字符串

**`property`** {number} priority - 规则优先级

**`property`** {boolean} stopIfTrue - 是否在应用此规则前先应用优先级较低的规则

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `maxColor` | [`ColorString`](GC.Data#colorstring) | 最大值刻度颜色字符串 |
| `maxType` | [`ScaleValueType`](GC.Data#scalevaluetype) | 最大值刻度类型 |
| `maxValue` | `number` | 最大值刻度值 |
| `midColor` | [`ColorString`](GC.Data#colorstring) | 中点刻度颜色字符串 |
| `midType` | [`ScaleValueType`](GC.Data#scalevaluetype) | 中点刻度类型 |
| `midValue` | `number` | 中点刻度值 |
| `minColor` | [`ColorString`](GC.Data#colorstring) | 最小值刻度颜色字符串 |
| `minType` | [`ScaleValueType`](GC.Data#scalevaluetype) | 最小值刻度类型 |
| `minValue` | `number` | 最小值刻度值 |
| `priority` | `number` | 规则优先级 |
| `ruleType` | ``"threeScaleRule"`` | 若使用三刻度规则，需指定此规则类型 |
| `stopIfTrue` | `boolean` | 是否在应用此规则前先应用优先级较低的规则 |

___

### <a id="timepickeroptions" name="timepickeroptions"></a> TimePickerOptions

Ƭ **TimePickerOptions**: `Object`

**`property`** {GC.Data.TimePickerValue} max - 时间选择器可显示的最大值（需包含小时、分钟、秒属性）

**`property`** {GC.Data.TimePickerValue} min - 时间选择器可显示的最小值（需包含小时、分钟、秒属性）

**`property`** {GC.Data.TimePickerValue} step - 时间选择器取值的粒度

**`property`** {string} formatString - 时间项的格式

**`property`** {number} height - 时间选择器容器的高度

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `formatString` | `string` | 时间项的格式 |
| `height` | `number` | 时间选择器容器的高度 |
| `max` | [`TimePickerValue`](GC.Data#timepickervalue) | 时间选择器可显示的最大值（需包含小时、分钟、秒属性） |
| `min` | [`TimePickerValue`](GC.Data#timepickervalue) | 时间选择器可显示的最小值（需包含小时、分钟、秒属性） |
| `step` | [`TimePickerValue`](GC.Data#timepickervalue) | 时间选择器取值的粒度 |

___

### <a id="timepickervalue" name="timepickervalue"></a> TimePickerValue

Ƭ **TimePickerValue**: `Object`

**`property`** {number} hour - 小时

**`property`** {number} minute - 分钟

**`property`** {number} second - 秒

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `hour` | `number` | 小时 |
| `minute` | `number` | 分钟 |
| `second` | `number` | 秒 |

___

### <a id="timevalidatoroptions" name="timevalidatoroptions"></a> TimeValidatorOptions

Ƭ **TimeValidatorOptions**: `Object`

**`property`** {"time"} type - 数据验证器类型

**`property`** {GC.Data.CellValueComparisonOperator} comparisonOperator - 数据验证比较运算符

**`property`** {Date | GC.Data.FormulaString} value1 - 数据验证器第一个值

**`property`** {Date | GC.Data.FormulaString} value2 - 当验证比较运算符为"between"或"notBetween"时的第二个值（可选）

**`property`** {boolean} ignoreBlank - 是否忽略空值

**`property`** {boolean} inCellDropdown - 是否显示下拉按钮

**`property`** {GC.Data.ErrorStyle} errorStyle - 数据验证错误样式

**`property`** {string} errorTitle - 数据验证错误标题

**`property`** {string} errorMessage - 数据验证错误消息

**`property`** {boolean} showErrorMessage - 是否显示错误消息

**`property`** {string} inputMessage - 数据验证输入提示消息

**`property`** {string} inputTitle - 数据验证输入提示标题

**`property`** {boolean} showInputMessage - 是否显示输入提示消息

**`property`** {GC.Data.HighlightStyle} highlightStyle - 数据验证高亮样式

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `comparisonOperator` | [`CellValueComparisonOperator`](GC.Data#cellvaluecomparisonoperator) | 数据验证比较运算符 |
| `errorMessage` | `string` | 数据验证错误消息 |
| `errorStyle` | [`ErrorStyle`](GC.Data#errorstyle) | 数据验证错误样式 |
| `errorTitle` | `string` | 数据验证错误标题 |
| `highlightStyle` | [`HighlightStyle`](GC.Data#highlightstyle) | 数据验证高亮样式 |
| `ignoreBlank` | `boolean` | 是否忽略空值 |
| `inCellDropdown` | `boolean` | 是否显示下拉按钮 |
| `inputMessage` | `string` | 数据验证输入提示消息 |
| `inputTitle` | `string` | 数据验证输入提示标题 |
| `showErrorMessage` | `boolean` | 是否显示错误消息 |
| `showInputMessage` | `boolean` | 是否显示输入提示消息 |
| `type` | ``"time"`` | 数据验证器类型 |
| `value1` | `Date` \| [`FormulaString`](GC.Data#formulastring) | 数据验证器第一个值 |
| `value2?` | `Date` \| [`FormulaString`](GC.Data#formulastring) | 当验证比较运算符为"between"或"notBetween"时的第二个值（可选） |

___

### <a id="top10ruleoptions" name="top10ruleoptions"></a> Top10RuleOptions

Ƭ **Top10RuleOptions**: `Object`

**`property`** {"top10Rule"} ruleType - 若使用前10条规则，需指定此规则类型

**`property`** {GC.Data.Top10Type} type - 前10条类型（如最大、最小等）

**`property`** {number} rank - 应用样式的前N或后N项数量

**`property`** {GC.Data.StyleOptions} style - 条件满足时应用于单元格的样式

**`property`** {number} priority - 规则优先级

**`property`** {boolean} stopIfTrue - 是否在应用此规则前先应用优先级较低的规则

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `priority` | `number` | 规则优先级 |
| `rank` | `number` | 应用样式的前N或后N项数量 |
| `ruleType` | ``"top10Rule"`` | 若使用前10条规则，需指定此规则类型 |
| `stopIfTrue` | `boolean` | 是否在应用此规则前先应用优先级较低的规则 |
| `style` | [`StyleOptions`](GC.Data#styleoptions) | 条件满足时应用于单元格的样式 |
| `type` | [`Top10Type`](GC.Data#top10type) | 前10条类型 |

___

### <a id="top10type" name="top10type"></a> Top10Type

Ƭ **Top10Type**: ``"top"`` \| ``"bottom"``

**`description`** 前10条类型。

___

### <a id="twoscaleruleoptions" name="twoscaleruleoptions"></a> TwoScaleRuleOptions

Ƭ **TwoScaleRuleOptions**: `Object`

**`property`** {"twoScaleRule"} ruleType - 若使用双刻度规则，需指定此规则类型

**`property`** {GC.Data.ScaleValueType} minType - 最小值刻度类型

**`property`** {number} minValue - 最小值刻度值

**`property`** {GC.Data.ColorString} minColor - 最小值刻度颜色字符串

**`property`** {GC.Data.ScaleValueType} maxType - 最大值刻度类型

**`property`** {number} maxValue - 最大值刻度值

**`property`** {GC.Data.ColorString} maxColor - 最大值刻度颜色字符串

**`property`** {number} priority - 规则优先级

**`property`** {boolean} stopIfTrue - 是否在应用此规则前先应用优先级较低的规则

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `maxColor` | [`ColorString`](GC.Data#colorstring) | 最大值刻度颜色字符串 |
| `maxType` | [`ScaleValueType`](GC.Data#scalevaluetype) | 最大值刻度类型 |
| `maxValue` | `number` | 最大值刻度值 |
| `minColor` | [`ColorString`](GC.Data#colorstring) | 最小值刻度颜色字符串 |
| `minType` | [`ScaleValueType`](GC.Data#scalevaluetype) | 最小值刻度类型 |
| `minValue` | `number` | 最小值刻度值 |
| `priority` | `number` | 规则优先级 |
| `ruleType` | ``"twoScaleRule"`` | 若使用双刻度规则，需指定此规则类型 |
| `stopIfTrue` | `boolean` | 是否在应用此规则前先应用优先级较低的规则 |

___

### <a id="uniqueruleoptions" name="uniqueruleoptions"></a> UniqueRuleOptions

Ƭ **UniqueRuleOptions**: `Object`

**`property`** {"uniqueRule"} ruleType - 若使用唯一值规则，需指定此规则类型

**`property`** {GC.Data.StyleOptions} style - 条件满足时应用于单元格的样式

**`property`** {number} priority - 规则优先级

**`property`** {boolean} stopIfTrue - 是否在应用此规则前先应用优先级较低的规则

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `priority` | `number` | 规则优先级 |
| `ruleType` | ``"uniqueRule"`` | 若使用唯一值规则，需指定此规则类型 |
| `stopIfTrue` | `boolean` | 是否在应用此规则前先应用优先级较低的规则 |
| `style` | [`StyleOptions`](GC.Data#styleoptions) | 条件满足时应用于单元格的样式 |

___

### <a id="viewoptions" name="viewoptions"></a> ViewOptions

Ƭ **ViewOptions**: `Object`

**`property`** {number} [defaultColumnWidth] - 默认列宽（可选）

**`property`** {GC.Data.StyleRules} [styleRules] - 样式规则集合（可选）

**`property`** {boolean} [showCrossValueHeader] - 是否显示交叉值标题（可选）

**`property`** {GC.Data.ICrossViewOptions} [cross] - 定义交叉列选项（可选）

**`description`** 视图配置选项

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `cross?` | [`ICrossViewOptions`](GC.Data#icrossviewoptions) | 定义交叉列选项 |
| `defaultColumnWidth?` | `number` | 默认列宽 |
| `showCrossValueHeader?` | `boolean` | 是否显示交叉值标题 |
| `styleRules?` | [`StyleRules`](GC.Data#stylerules) | 样式规则集合 |

___

### <a id="workflowitem" name="workflowitem"></a> WorkFlowItem

Ƭ **WorkFlowItem**: `Object`

**`property`** {string} value - 项目值

**`property`** {number[]|string[]} transitions - 项目过渡值数组

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `transitions` | `number`[] \| `string`[] | 项目过渡值数组 |
| `value` | `string` | 项目值 |

___

### <a id="workflowoptions" name="workflowoptions"></a> WorkFlowOptions

Ƭ **WorkFlowOptions**: `Object`

**`property`** {GC.Data.WorkFlowItem[]} items - 工作流项目数组

#### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `items` | [`WorkFlowItem`](GC.Data#workflowitem)[] | 工作流项目数组 |
