Browse Source

Updated the docs

Dennis Hernández 10 years ago
parent
commit
32ddb715aa

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

@@ -394,7 +394,11 @@ The table options is defined in `jQuery.fn.bootstrapTable.defaults`.
         <td>data-key-events</td>
         <td>data-key-events</td>
         <td>Boolean</td>
         <td>Boolean</td>
         <td>false</td>
         <td>false</td>
-        <td>True to enable the key events. For now when the user presses the "S" or "s" key the search button will be focused.</td>
+        <td>True to enable the key events. The key event list is:
+        S/s: It will be focused the search textbox if it is enabled
+        R/r: It will refresh the table if the showRefresh option is enabled
+        T/t: It will toggle the table view if the showToggle option is enabled
+        P/p: It will fires the pagination switch if the showPaginationSwitch is enabled.</td>
     </tr>
     </tr>
 	<tr>
 	<tr>
         <td>stateSave</td>
         <td>stateSave</td>

+ 5 - 2
docs/_i18n/es/documentation/table-options.md

@@ -388,8 +388,11 @@ Las opciones de la tabla están definidas en `jQuery.fn.bootstrapTable.defaults`
         <td>data-key-events</td>
         <td>data-key-events</td>
         <td>Boolean</td>
         <td>Boolean</td>
         <td>false</td>
         <td>false</td>
-        <td>True para habilitar los eventos del teclado. Por ahora cuando el 
-		usuario presiona la tecla "S" o "s" el campo de búsqueda tendrá el focus.</td>
+        <td>True para habilitar los eventos del teclado. La lista es:
+        S/s: El textbox de búsqueda sera enfocado si la opción search está habilitada
+        R/r: Se refrescará la tabla si la opción showRefresh está habilitada
+        T/t: Se cambiará de vista si la opción showToggle está habilitada
+        P/p: Se ocultara/mostrará la paginación si la opción showPaginationSwitch está habilitada.</td>
     </tr>
     </tr>
 	<tr>
 	<tr>
         <td>stateSave</td>
         <td>stateSave</td>