zhixin d2b665fcf1 Move i18n-enhance example 9 years ago
..
README.md ce4ad29e80 1.add i18n-enhance README and extension.json. 9 years ago
bootstrap-table-i18n-enhance.js e897dec4a0 add i18n-enhance extension example. 9 years ago
extension.json ce4ad29e80 1.add i18n-enhance README and extension.json. 9 years ago

README.md

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