Table Auto Refresh

Table Auto Refresh extension of Bootstrap Table.

Usage

<script src="extensions/auto-refresh/bootstrap-table-auto-refresh.js"></script>

Example

Auto Refresh

Options

autoRefresh

  • Attribute: data-auto-refresh

  • 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

autoRefreshInterval

  • Attribute: data-auto-refresh-interval

  • type: Number

  • Detail:

    Time in seconds for auto refresh to occur every.

  • Default: 60

autoRefreshSilent

  • Attribute: data-auto-refresh-silent

  • type: Boolean

  • Detail:

    Set true to auto refresh silently.

  • Default: true

autoRefreshStatus

  • Attribute: data-auto-refresh-status

  • 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

Icons

  • autoRefresh: ‘fa-clock’

Localizations

formatAutoRefresh

  • Parameter: undefined

  • Default: function () { return "Auto Refresh" }