Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e815f0ff
authored
Mar 01, 2025
by
Netfan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
docs: `vbenVxeTable` slots docs update
1 parent
5ea6b4a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
9 deletions
docs/src/components/common-ui/vben-vxe-table.md
docs/src/components/common-ui/vben-vxe-table.md
View file @
e815f0f
...
...
@@ -231,12 +231,22 @@ useVbenVxeGrid 返回的第二个参数,是一个对象,包含了一些表
所有属性都可以传入
`useVbenVxeGrid`
的第一个参数中。
| 属性名 | 描述 | 类型 |
| -------------- | ------------------ | ------------------- |
| tableTitle | 表格标题 |
`string`
|
| tableTitleHelp | 表格标题帮助信息 |
`string`
|
| gridClass | grid组件的class |
`string`
|
| gridOptions | grid组件的参数 |
`VxeTableGridProps`
|
| gridEvents | grid组件的触发的⌚️ |
`VxeGridListeners`
|
| formOptions | 表单参数 |
`VbenFormProps`
|
| showSearchForm | 是否显示搜索表单 |
`boolean`
|
| 属性名 | 描述 | 类型 |
| -------------- | -------------------- | ------------------- |
| tableTitle | 表格标题 |
`string`
|
| tableTitleHelp | 表格标题帮助信息 |
`string`
|
| gridClass | grid组件的class |
`string`
|
| gridOptions | grid组件的参数 |
`VxeTableGridProps`
|
| gridEvents | grid组件的触发的事件 |
`VxeGridListeners`
|
| formOptions | 表单参数 |
`VbenFormProps`
|
| showSearchForm | 是否显示搜索表单 |
`boolean`
|
## Slots
大部分插槽的说明请参考
[
vxe-table 官方文档
](
https://vxetable.cn/v4/#/grid/api
)
,但工具栏部分由于做了一些定制封装,需使用以下插槽定制表格的工具栏:
| 插槽名 | 描述 |
| --------------- | -------------------------------------------- |
| toolbar-actions | 工具栏左侧部分(表格标题附近) |
| toolbar-tools | 工具栏右侧部分(vxeTable原生工具按钮的左侧) |
| table-title | 表格标题插槽 |
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment