ソースを参照

Add expandRow and collapseRow docs.

zhixin 10 年 前
コミット
35cce3e24f

+ 8 - 3
docs/_i18n/en/documentation/methods.md

@@ -279,9 +279,14 @@ The calling method syntax: `$('#table').bootstrapTable('method', parameter);`.
         <td>Toggle the card/table view.</td>
     </tr>
 	<tr>
-        <td>deleteCookie</td>
-        <td>cookie name</td>
-        <td>Delete a cookie created. You must use: 'sortOrder', 'sortName', 'pageNumber' or 'pageList'.</td>
+        <td>expandRow</td>
+        <td>index</td>
+        <td>Expand a row, the row index start with 0.</td>
+    </tr>
+	<tr>
+        <td>collapseRow</td>
+        <td>index</td>
+        <td>Collapse a row, the row index start with 0.</td>
     </tr>
     <tr>
         <td>expandRow</td>

+ 8 - 3
docs/_i18n/es/documentation/methods.md

@@ -270,9 +270,14 @@ Sintaxis para llamar a un método: `$('#table').bootstrapTable('method', paramet
         <td>Alterna la vista entre tabla y tarjeta.</td>
     </tr>
 	<tr>
-        <td>deleteCookie</td>
-        <td>cookie name</td>
-        <td>Elimina una cookie creada. Debe usar: 'sortOrder', 'sortName', 'pageNumber' o 'pageList'.</td>
+        <td>expandRow</td>
+        <td>index</td>
+        <td>Expand a row, the row index start with 0.</td>
+    </tr>
+	<tr>
+        <td>collapseRow</td>
+        <td>index</td>
+        <td>Collapse a row, the row index start with 0.</td>
     </tr>
     <tr>
         <td>expandRow</td>