add theme @mxssfd/typedoc-theme, upgrade packages.
This commit is contained in:
18
lib/ui/grid/column.d.ts
vendored
18
lib/ui/grid/column.d.ts
vendored
@@ -2,21 +2,21 @@ import { Grid, GridItem, GridItemWrapper, GridSourceItem } from "./grid";
|
||||
import { Dropdown, DropdownOptions } from "../dropdown";
|
||||
|
||||
/** 列类型枚举 */
|
||||
interface GridColumnType {
|
||||
declare enum GridColumnType {
|
||||
/** 通用列 */
|
||||
0: "Common";
|
||||
Common = 0,
|
||||
/** 单行文本框列 */
|
||||
1: "Input";
|
||||
Input = 1,
|
||||
/** 下拉选择列 */
|
||||
2: "Dropdown";
|
||||
Dropdown = 2,
|
||||
/** 复选框列 */
|
||||
3: "Checkbox";
|
||||
Checkbox = 3,
|
||||
/** 图标列 */
|
||||
4: "Icon";
|
||||
Icon = 4,
|
||||
/** 多行文本列 */
|
||||
5: "Text";
|
||||
Text = 5,
|
||||
/** 日期选择列 */
|
||||
6: "Date";
|
||||
Date = 6
|
||||
}
|
||||
|
||||
/** 列定义接口 */
|
||||
@@ -24,7 +24,7 @@ export interface GridColumnDefinition {
|
||||
/** 列关键字,默认以该关键字从行数据中提取单元格值,行数据的关键字属性值里包含 DisplayValue 则优先显示此值 */
|
||||
key?: string;
|
||||
/** 列的类型,可以为 {@linkcode GridColumn} 的子类,或者内置类型 {@linkcode GridColumnType} */
|
||||
type?: keyof GridColumnType | typeof GridColumn;
|
||||
type?: GridColumnType | typeof GridColumn;
|
||||
/** 列标题文本 */
|
||||
caption?: string;
|
||||
/** 列标题的元素样式 */
|
||||
|
Reference in New Issue
Block a user