编辑 | blame | 历史 | 原始文档

Table i18n Enhance

Use Plugin: bootstrap-table-i18n-enhance

Usage

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

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."
      });