ソースを参照

moved the documentation to the correct position (sorting)

NAME 5 年 前
コミット
03c618f73f
1 ファイル変更22 行追加22 行削除
  1. 22 22
      site/docs/api/table-options.md

+ 22 - 22
site/docs/api/table-options.md

@@ -580,28 +580,6 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
 
 - **Example:** [Ignore Click To Select On](https://examples.bootstrap-table.com/#options/ignore-click-to-select-on.html)
 
-## locale
-
-- **Attribute:** `data-locale`
-
-- **Type:** `String`
-
-- **Detail:**
-
-  Sets the locale to use (i.e. `'zh-CN'`). Locale files must be pre-loaded.
-  Allows for fallback locales, if loaded, in the following order:
-
-  * First tries for the locale as specified,
-  * Then tries the locale with '_' translated to '-' and the region code upper cased,
-  * Then tries the short locale code (i.e. `'zh'` instead of `'zh-CN'`),
-  * And finally will use the last locale file loaded (or the default locale if no locales loaded).
-
-  If left `undefined` or an empty string, use the last locale loaded (or `'en-US'` if no locale files loaded).
-
-- **Default:** `undefined`
-
-- **Example:** [Table Locale](https://examples.bootstrap-table.com/#options/table-locale.html)
-
 ## loadingFontSize
 
 - **Attribute:** `data-loading-font-size`
@@ -642,6 +620,28 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
 
 - **Example:** [Loading Template](https://examples.bootstrap-table.com/#options/loading-template.html)
 
+## locale
+
+- **Attribute:** `data-locale`
+
+- **Type:** `String`
+
+- **Detail:**
+
+  Sets the locale to use (i.e. `'zh-CN'`). Locale files must be pre-loaded.
+  Allows for fallback locales, if loaded, in the following order:
+
+  * First tries for the locale as specified,
+  * Then tries the locale with '_' translated to '-' and the region code upper cased,
+  * Then tries the short locale code (i.e. `'zh'` instead of `'zh-CN'`),
+  * And finally will use the last locale file loaded (or the default locale if no locales loaded).
+
+  If left `undefined` or an empty string, use the last locale loaded (or `'en-US'` if no locale files loaded).
+
+- **Default:** `undefined`
+
+- **Example:** [Table Locale](https://examples.bootstrap-table.com/#options/table-locale.html)
+
 ## maintainMetaData
 
 - **Attribute:** `data-maintain-meta-data`