浏览代码

Update column-options.md

wenzhixin 10 年之前
父节点
当前提交
858164596f
共有 1 个文件被更改,包括 5 次插入2 次删除
  1. 5 2
      docs/_i18n/en/documentation/column-options.md

+ 5 - 2
docs/_i18n/en/documentation/column-options.md

@@ -94,7 +94,7 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
         <td>falign</td>
         <td>data-falign</td>
         <td>String</td>
-        <td>undefined</td>
+        <td>undefined</td>e
         <td>Indicate how to align the table footer. 'left', 'right', 'center' can be used.</td>
     </tr>
     <tr>
@@ -187,7 +187,10 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
         event: the jQuery event. <br>
         value: the field value. <br>
         row: the row record data.<br>
-        index: the row index.
+        index: the row index. <br>
+        Example code: 
+        <code>&lt;th .. data-events="operateEvent"&gt;</code>
+        <code>var operateEvents = {'click .like': function (e, value, row, index) {}};</code>
         </td>
     </tr>
     <tr>