Browse Source

Update the description, and change sort-name to sortName

Yuanyan Wu 10 years ago
parent
commit
98ea471e21
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/_i18n/en/documentation/column-options.md

+ 2 - 2
docs/_i18n/en/documentation/column-options.md

@@ -180,13 +180,13 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
         </td>
     </tr>
     <tr>
-        <td>sort-name</td>
+        <td>sortName</td>
         <td>data-sort-name</td>
         <td>String</td>
         <td>undefined</td>
         <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  
-        "<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>
     </tr>    
     <tr>