Browse Source

Update column-options.md

wenzhixin 10 years ago
parent
commit
858164596f
1 changed files with 5 additions and 2 deletions
  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>falign</td>
         <td>data-falign</td>
         <td>data-falign</td>
         <td>String</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>
         <td>Indicate how to align the table footer. 'left', 'right', 'center' can be used.</td>
     </tr>
     </tr>
     <tr>
     <tr>
@@ -187,7 +187,10 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
         event: the jQuery event. <br>
         event: the jQuery event. <br>
         value: the field value. <br>
         value: the field value. <br>
         row: the row record data.<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>
         </td>
     </tr>
     </tr>
     <tr>
     <tr>