You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: examples/src/docs/en/ve-table/api/db.js
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1220,12 +1220,11 @@ export const db = {
1220
1220
},
1221
1221
{
1222
1222
param: "sizeChange",
1223
-
desc: `The callback method after column resize. Parameter Description:\r1、<code>column</code>resize column\r2、<code>differWidth</code>Width of the difference after column resize\r3、<code>columnWidth</code>column width after column resize\r4、<code>tableWidth</code>table width after column resize`,
1223
+
desc: `The callback method after column resize. Parameter Description:\r1、<code>column</code>resize column\r2、<code>differWidth</code>Width of the difference after column resize\r3、<code>columnWidth</code>column width after column resize`,
Copy file name to clipboardExpand all lines: examples/src/docs/en/ve-table/column-resize/basic.md
+15-14Lines changed: 15 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,8 @@
1
1
:::anchor Column Drag
2
2
3
-
You can hover the mouse between two columns and drag
3
+
You can hover the mouse between two columns and drag.If the column width is not set, the default is 50px
4
4
5
-
:::demo 1、Set the min width of resize column through `columnMinWidth`<br>2、Get the callback method of resize column changes through `sizeChange({ column, differWidth, columnWidth, tableWidth })`
5
+
:::demo 1、Set the min width of resize column through `columnMinWidth`<br>2、Get the callback method of resize column changes through `sizeChange({ column, differWidth, columnWidth })`
6
6
7
7
```html
8
8
<template>
@@ -11,7 +11,6 @@ You can hover the mouse between two columns and drag
1、Column width resize is useful when large text exists<br>
3
3
2、Configure the column width resize through `columnWidthResizeOption`<br>
4
-
3、It is recommended to set `scroll-width=0`, then dragging the column width will change the table width
4
+
3、It is recommended to set `scroll-width=0`. When the total column width is greater than the container width, a horizontal scroll bar will appear<br>
5
+
4、Set the default width of the column through `column.width`. If the total width of all columns is less than the container width, the column width will be adaptive
0 commit comments