Browse Source

Update column-options.md

Update the description, and change sort-name to sortName
Yuanyan Wu 10 years ago
parent
commit
eea98172ff
1 changed files with 3 additions and 3 deletions
  1. 3 3
      docs/_i18n/zh-cn/documentation/column-options.md

+ 3 - 3
docs/_i18n/zh-cn/documentation/column-options.md

@@ -154,15 +154,15 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
         </td>
         </td>
     </tr>
     </tr>
     <tr>
     <tr>
-        <td>sort-name</td>
+        <td>sortName</td>
         <td>data-sort-name</td>
         <td>data-sort-name</td>
         <td>String</td>
         <td>String</td>
         <td>undefined</td>
         <td>undefined</td>
         <td>Provide a customizable sort-name, not the default sort-name in the header, or the field name
         <td>Provide a customizable sort-name, not the default sort-name in the header, or the field name
         of the column. For example, a column might display the value of fieldName of "html" such as  
         of the column. For example, a column might display the value of fieldName of "html" such as  
-        "<b><span style="color:red">abc</span></b>", but a fieldName to sort is "content" with the value of "abc".
+        "&lt;b&gt;&lt;span style="color:red"&gt;abc&lt;/span&gt;&lt;/b&gt;", but a fieldName to sort is "content" with the value of "abc".
         </td>
         </td>
-    </tr>    
+    </tr>  
     <tr>
     <tr>
         <td>cellStyle</td>
         <td>cellStyle</td>
         <td>data-cell-style</td>
         <td>data-cell-style</td>