|
2 | 2 |
|
3 | 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 })` |
| 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 })`<br>3、Cols 6, 7, and 8 resizing is disabled through `disableResizing` |
6 | 6 |
|
7 | 7 | ```html |
8 | 8 | <template> |
@@ -59,9 +59,15 @@ You can hover the mouse between two columns and drag.If the column width is not |
59 | 59 | { field: "col3", key: "col3", title: "Col3", width: 220 }, |
60 | 60 | { field: "col4", key: "col4", title: "Col4", width: 220 }, |
61 | 61 | { field: "col5", key: "col5", title: "Col5", width: 220 }, |
62 | | - { field: "col6", key: "col6", title: "Col6", width: 220 }, |
63 | | - { field: "col7", key: "col7", title: "Col7" }, |
64 | | - { field: "col8", key: "col8", title: "Col8" }, |
| 62 | + { |
| 63 | + field: "col6", |
| 64 | + key: "col6", |
| 65 | + title: "Col6", |
| 66 | + width: 220, |
| 67 | + disableResizing: true, |
| 68 | + }, |
| 69 | + { field: "col7", key: "col7", title: "Col7", disableResizing: true }, |
| 70 | + { field: "col8", key: "col8", title: "Col8", disableResizing: true }, |
65 | 71 | ], |
66 | 72 | columnResizeInfo: { |
67 | 73 | column: "", |
|
0 commit comments