Browse Source

Fix typo.

zhixin 10 years ago
parent
commit
ab5199fa68

+ 1 - 1
docs/_i18n/en/documentation/table-options.md

@@ -342,7 +342,7 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
         <td>detailFormatter</td>
         <td>data-detail-formatter</td>
         <td>Function</td>
-        <td>function(res) {<br>return '';<br>}</td>
+        <td>function(index, row) {<br>return '';<br>}</td>
         <td>Format your detail view when <code>detailView</code> is set to <code>true</code>.</td>
     </tr>
     <tr>

+ 1 - 1
docs/_i18n/es/documentation/table-options.md

@@ -325,7 +325,7 @@ Las opciones de la tabla están definidas en `jQuery.fn.bootstrapTable.defaults`
         <td>detailFormatter</td>
         <td>data-detail-formatter</td>
         <td>Function</td>
-        <td>function(res) {<br>return '';<br>}</td>
+        <td>function(index, row) {<br>return '';<br>}</td>
         <td>Format your detail view when <code>detailView</code> is set to <code>true</code>.</td>
     </tr>
     <tr>

+ 1 - 1
docs/_i18n/zh-cn/documentation/table-options.md

@@ -342,7 +342,7 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
         <td>detailFormatter</td>
         <td>data-detail-formatter</td>
         <td>Function</td>
-        <td>function(res) {<br>return '';<br>}</td>
+        <td>function(index, row) {<br>return '';<br>}</td>
         <td>格式化详细页面模式的视图。</td>
     </tr>
     <tr>