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 69b140e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ group :development, :test do
gem 'jekyll-sitemap', '~> 1.2.0'
gem 'jekyll-toc', '~> 0.9.1'
gem 'wdm', '~> 0.1.1', :install_if => Gem.win_platform?
gem "webrick", "~> 1.8"
end

group :jekyll_plugins do
Expand Down
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 69b140e

Please sign in to comment.