Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Column ¶
type Column struct {
Align string `json:"align"` // 设置列内容的对齐方式 'left' | 'right' | 'center' 'left'
//ColSpan int `json:"colSpan"` // TODO 没看懂 表头列合并,设置为 0 时,不渲染 number
DataIndex string `json:"dataIndex"` // TODO 字段里的唯一项 列数据在数据项中对应的 key,支持 a.b.c 的嵌套写法 string -
FilterDropdownVisible bool `json:"filterDropdownVisible"` // TODO 用于控制自定义筛选菜单是否可见 boolean -
Filtered bool `json:"filtered"` // TODO 标识数据是否经过过滤,筛选图标会高亮 boolean false
FilteredValue []string `json:"filteredValue"` // 筛选的受控属性,外界可用此控制列的筛选状态,值为已筛选的 value 数组 string[] -
FilterMultiple bool `json:"filterMultiple"` // 是否多选 boolean true
Filters []Filter `json:"filters"` // 表头的筛选菜单项 object[] -
Fixed bool `json:"fixed"` // 列是否固定,可选 true(等效于 left) 'left' 'right' boolean|string false
Key string `json:"key"` // Vue 需要的 key,如果已经设置了唯一的 dataIndex,可以忽略这个属性 string -
Title string `json:"title"` // 列头显示文字 string|slot -
Width float64 `json:"width"` // 列宽度 string|number -
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.