Component

The API of Bootstrap Table Vue Component.

Usage Example

<BootstrapTable
  ref="table"
  :columns="columns"
  :data="data"
  :options="options"
  @onPostBody="onPostBody"
/>

Props

columns

  • Type: Object

  • Detail:

    The column options of Bootstrap Table. This prop is required.

  • Default: undefined

data

  • Type: Array | Object

  • Detail:

    The data to be loaded.

  • Default: undefined

options

  • Type: Object

  • Detail:

    The table options of Bootstrap Table.

  • Default: {}

Events

The calling method syntax: @onEvent="onEvent".

All events (without onAll) are defined in Events API.

Methods

The calling method syntax: this.$refs.table.methodName(parameter).

Example: this.$refs.table.getOptions().

All methods are defined in Methods API.