ソースを参照

Update table-options.md

wilky27 10 年 前
コミット
330023a752
1 ファイル変更20 行追加0 行削除
  1. 20 0
      docs/_i18n/en/documentation/table-options.md

+ 20 - 0
docs/_i18n/en/documentation/table-options.md

@@ -555,5 +555,25 @@ The table options are defined in `jQuery.fn.bootstrapTable.defaults`.
         if no locale files loaded).
         </td>
     </tr>
+    <tr>
+	<td>footerStyle</td>
+	<td>data-footer-style</td>
+	<td>Function</td>
+	<td>{}</td>
+	<td>
+	        The footer style formatter function, takes two parameters: <br>
+	        row: the row record data.<br>
+	        index: the row index.<br>
+	        Support classes or css. Example usage:<br>
+		<pre>
+		function footerStyle(value, row, index) {
+		  return {
+		    classes: 'text-nowrap another-class',
+		    css: {"color": "blue", "font-size": "50px"}
+		  };
+		}
+		</pre>
+	</td>
+    </tr>
    </tbody>
 </table>