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/QA.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,18 @@
2
2
3
3
:::anchor 'scrollWidth' attribute
4
4
5
-
Q:When to use `scrollWidth` attribute?
5
+
Q:When to use `scrollWidth` attribute?
6
6
7
7
A:When the outer container width is less than the `scrollwidth` value, a horizontal scroll bar will appear; when the outer container width is greater than the `scrollwidth` value, it will follow the container adaptively
8
8
9
9
:::anchor Column Fixed
10
-
Q:Why can't some columns be displayed after setting fixed columns?
10
+
Q:Why can't some columns be displayed after setting fixed columns?
11
11
12
12
A:Because the set scrollWidth value is less than the sum of the width of the column (setting the specific width), it will cause the column with no width or set percentage to be squeezed out
13
13
14
14
:::anchor 'rowKeyFieldName' property
15
15
16
-
Q:When to use `rowKeyFieldName` property?
16
+
Q:When to use `rowKeyFieldName` property?
17
17
18
18
A:This attribute is to solve the correctness of rendering when the data is updated. Applicable functions are: row expansion, row single selection, row multiple selection, row click highlighting, virtual scroll
Q:When there are too many cell contents, the width set does not take effect?
33
+
34
+
A:Too much text in a cell destroys the layout,This can be controlled by style [word-break](https://developer.mozilla.org/zh-CN/docs/Web/CSS/word-break) ,[Refer to this example](#/en/doc/table/column-width?anchor=long-text-destroys-layout),Such as:
0 commit comments