Skip to content

配置面板 Settings

列设置 · 筛选项布局配置。与列表页 FilterBar / FilterDrawer 联用。

列设置 RdTableColumnSettings ​

Attributes ​

属性名说明类型默认值
items列配置项(visible / fixed 锁定 / tableFixed 表格固定 / flags 自定义动作)TableColumnSettingItem[]—
customized是否已定制boolean—
showPinLeft是否展示「固定左侧」booleantrue
showPinRight是否展示「固定右侧」booleanfalse
extraActions追加的自定义动作列(与固定左/右同款开关)TableColumnSettingAction[][]
hint覆盖面板提示文案string—

Events ​

事件名说明类型
toggle显示切换(key: string) => void
toggleTableFixed切换表格列固定(左/右互斥)(key: string, side: 'left' | 'right') => void
toggleAction切换自定义动作开关(columnKey: string, actionKey: string) => void
reorder拖拽排序(from, to) => void
reset恢复默认() => void

Slots ​

插槽名说明
append列设置触发按钮右侧的扩展内容(自定义按钮等)

筛选项配置 RdFilterLayoutSettings ​

列表筛选项

左侧勾选在筛选栏显示;右侧「快捷」标记为快捷筛选项

  • 固定

Attributes ​

属性名说明类型默认值
items筛选项配置;含 inlineVisible / quick / order / fixedFilterFieldSettingItem[]—
customized是否已相对默认定制boolean—

Events ​

事件名说明类型
toggle切换是否在筛选栏显示(key: string) => void
toggleQuick切换是否为快捷筛选项(key: string) => void
reorder拖拽排序(from, to) => void
reset恢复默认() => void