ソースを参照

Added note for virtualScroll option

zhixin 1 年間 前
コミット
c4d422cd1f
1 ファイル変更2 行追加0 行削除
  1. 2 0
      site/docs/api/table-options.md

+ 2 - 0
site/docs/api/table-options.md

@@ -1976,6 +1976,8 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
 
   Set `true` to enable virtual scroll to display a virtual, "infinite" list.
 
+  **Note:** Currently, the implementation assumes that each line has the same height. If the heights of the lines vary, unpredictable bugs may occur. Please ensure that the height of each line is consistent, or apply the style `td { white-space: nowrap; }` to address this issue.
+
 - **Default:** `false`
 
 - **Example:** [Large Data](https://examples.bootstrap-table.com/#options/large-data.html)