Browse Source

Merge pull request #1744 from dabros/patch-5

hideRow & showRow does NOT use isIdField!!
wenzhixin 10 years ago
parent
commit
a73f28629a
1 changed files with 6 additions and 6 deletions
  1. 6 6
      docs/_i18n/en/documentation/methods.md

+ 6 - 6
docs/_i18n/en/documentation/methods.md

@@ -125,16 +125,16 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
 	<tr>
 	<tr>
         <td>showRow</td>
         <td>showRow</td>
         <td>params</td>
         <td>params</td>
-        <td>Show the specified row. the param contains following properties:
-        index: the row index or the uniqueId.
-        isIdField: Boolean to indicates if index is the uniqueId or the row or not.</td>
+        <td>Show the specified row. The param must contain at least one of the following properties:
+        index: the row index.
+        uniqueId: the value of the uniqueId for that row.</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>hideRow</td>
         <td>hideRow</td>
         <td>params</td>
         <td>params</td>
-        <td>Hide the specified row. the param contains following properties:
-        index: the row index or the uniqueId.
-        isIdField: Boolean to indicates if index is the uniqueId or the row or not.</td>
+        <td>Hide the specified row. The param must contain at least one of the following properties:
+        index: the row index.
+        uniqueId: the value of the uniqueId for that row.</td>
     </tr>
     </tr>
     <tr>
     <tr>
         <td>getRowsHidden</td>
         <td>getRowsHidden</td>