ソースを参照

Update docs to include onClickCell and onDblClickCell events

jtrumbull 10 年 前
コミット
8a546f6f82
1 ファイル変更25 行追加1 行削除
  1. 25 1
      docs/_i18n/en/documentation/events.md

+ 25 - 1
docs/_i18n/en/documentation/events.md

@@ -28,6 +28,30 @@
         </td>
         </td>
     </tr>
     </tr>
     <tr>
     <tr>
+        <td>onClickCell</td>
+        <td>click-cell.bs.table</td>
+        <td>field, value, row, $element</td>
+        <td>
+        Fires when user click a cell, the parameters contains: <br>
+        field: the field name corresponding to the clicked cell<br>
+        value: the data value corresponding to the clicked cell<br>
+        row: the record corresponding to the clicked row, <br>
+        $element: the td element.
+        </td>
+    </tr>
+    <tr>
+        <td>onDblClickCell</td>
+        <td>dbl-click-cell.bs.table</td>
+        <td>field, value, row, $element</td>
+        <td>
+        Fires when user double click a cell, the parameters contains: <br>
+        field: the field name corresponding to the clicked cell<br>
+        value: the data value corresponding to the clicked cell<br>
+        row: the record corresponding to the clicked row, <br>
+        $element: the td element.
+        </td>
+    </tr>
+    <tr>
         <td>onClickRow</td>
         <td>onClickRow</td>
         <td>click-row.bs.table</td>
         <td>click-row.bs.table</td>
         <td>row, $element</td>
         <td>row, $element</td>
@@ -42,7 +66,7 @@
         <td>dbl-click-row.bs.table</td>
         <td>dbl-click-row.bs.table</td>
         <td>row, $element</td>
         <td>row, $element</td>
         <td>
         <td>
-        Fires when user click a row, the parameters contains: <br>
+        Fires when user double click a row, the parameters contains: <br>
         row: the record corresponding to the clicked row, <br>
         row: the record corresponding to the clicked row, <br>
         $element: the tr element.
         $element: the tr element.
         </td>
         </td>