Skip to content

Commit

Permalink
Added note for virtualScroll option
Browse files Browse the repository at this point in the history
  • Loading branch information
wenzhixin committed Oct 7, 2024
1 parent b3d8096 commit c4d422c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/docs/api/table-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c4d422c

Please sign in to comment.