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
      • String : localeId
    • Example: $table.bootstrapTable('changeLocale', 'zh_TW')

changeTitle

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