i18n-enhance.md 816 B


layout: docs title: Table i18n Enhance description: Table i18n Enhance extension of Bootstrap Table. group: extensions

toc: true

Usage

{% highlight html %} {% endhighlight %}

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: {% highlight html %} $table.bootstrapTable('changeTitle', { columnA.field: 'New column A title.', columnB.field: 'New column B title.' }) {% endhighlight %}