Browse Source

hideRow & showRow does NOT use isIdField!!

As noted in #1742, doco is in touch with current code.

This feels like it could be an issue, Im making this PR just to make doco in line with code, but it would be best if someone could also trace when this happened.

If there 'was' an `isIdField` param, then when and why did it go away, and are older versions still using it???
dabros 10 years ago
parent
commit
6380b88762
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>
         <td>showRow</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>
         <td>hideRow</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>
         <td>getRowsHidden</td>