Table Key Events

Table Key Events extension of Bootstrap Table.

Usage

<script src="extensions/key-events/bootstrap-table-key-events.js"></script>

Example

Key Events

Options

keyEvents

  • attribute: data-key-events

  • type: Boolean

  • Detail:

    True to enable the key events. The key event list is:

    • s: It will be focused the search textbox if it is enabled.
    • r: It will refresh the table if the showRefresh option is enabled.
    • t: It will toggle the table view if the showToggle option is enabled.
    • p: It will fires the pagination switch if the showPaginationSwitch is enabled.
    • left: It will go to prev page if the pagination is true.
    • right: It will go to next page if the pagination is true.
  • Default: false