审查视图

public/assets/libs/bootstrap-table/src/extensions/i18n-enhance/README.md 725 字节
景龙 authored
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
# Table i18n Enhance

Use Plugin: [bootstrap-table-i18n-enhance](https://github.com/wenzhixin/bootstrap-table/tree/master/src/extensions/select2-filter) 

## Usage

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

## Methods

### changeLocale

* Change table locale.
	* Parameters
		* String : localeId
	* Example: <code> $table.bootstrapTable("changeLocale", "zh_TW");</code>

### changeTitle

* Change column's title.
	* Parameters
		* Object : object's key is column field , value is new title.
	* Example: <code> $table.bootstrapTable("changeTitle", {
          columnA.field: "New column A title.",
          columnB.field: "New column B title."          
        });</code>