View on GitHub

Table i18n Enhance

Table i18n Enhance extension of Bootstrap Table.

Usage

<script src="extensions/i18n-enhance/bootstrap-table-i18n-enhance.js"></script>

Example

i18n Enhance

Methods

changeLocale

Change table locale.

  • Parameters: localeId
  • Example: $table.bootstrapTable('changeLocale', 'zh_TW')

changeTitle

Change the column’s title.

  • Parameters: object, the object’s key is a column field, value is the new title.
  • Example:
$table.bootstrapTable('changeTitle', {
  columnA.field: 'New column A title.',
  columnB.field: 'New column B title.'
})