i18n-enhance.md 813 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
    • 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.' })