UNPKG

bootstrap-table

Version:

An extended Bootstrap table with radio, checkbox, sort, pagination, and other added features. (supports twitter bootstrap v2 and v3).

61 lines (35 loc) 1.26 kB
--- layout: docs title: Table Auto Refresh description: Table Auto Refresh extension of Bootstrap Table. group: extensions toc: true --- ## Usage {% highlight html %} <link rel="stylesheet" href="extensions/auto-refresh/bootstrap-table-auto-refresh.css"> <script src="extensions/auto-refresh/bootstrap-table-auto-refresh.js"></script> {% endhighlight %} ## Options ### autoRefresh - **type:** `Boolean` - **Detail:** Set `true` to enable auto refresh plugin. **This does not mean enable auto refresh.** This allows the user to enable/disable auto refresh by clicking the button. - **Default:** `false` ### autoRefreshStatus - **type:** `Boolean` - **Detail:** Set `true` to enable auto refresh. This is the state auto refresh will be in when the table loads. Clicking the button toggles this property. This is simply the default state of auto refresh as the user can always change it by clicking the button. - **Default:** `true` ### autoRefreshInterval - **type:** `Number` - **Detail:** Time in seconds for auto refresh to occur every. - **Default:** `60` ### autoRefreshSilent - **type:** `Boolean` - **Detail:** Set true to auto refresh silently. - **Default:** `true` ### Icons - autoRefresh: 'glyphicon-time icon-time'