Browse Source

updated docs regarding changed context of column.formatter()

jtrumbull 10 years ago
parent
commit
56b4806549

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

@@ -140,6 +140,7 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
         <td>Function</td>
         <td>undefined</td>
         <td>
+        The context (this) is the column Object. <br>
         The cell formatter function, take three parameters: <br>
         value: the field value. <br>
         row: the row record data.<br>
@@ -151,7 +152,7 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
         <td>Function</td>
         <td>undefined</td>
         <td>
-        The context (this) is the column Object.
+        The context (this) is the column Object. <br>
         The function, take one parameter: <br>
         data: Array of all the  data rows. <br>
         the function should return a string with the text to show in the footer cell.

+ 2 - 1
docs/_i18n/es/documentation/column-options.md

@@ -139,6 +139,7 @@ Las propiedades de la columna están definidas en `jQuery.fn.bootstrapTable.colu
         <td>Function</td>
         <td>undefined</td>
         <td>
+        El contexto (this) es el objecto columna. <br>
         La función de formateo de la celda, toma tres parámetros: <br>
         value: el valor del campo. <br>
         row: los datos de la fila.<br>
@@ -150,7 +151,7 @@ Las propiedades de la columna están definidas en `jQuery.fn.bootstrapTable.colu
         <td>Function</td>
         <td>undefined</td>
         <td>
-        El contexto (this) es el objecto columna.
+        El contexto (this) es el objecto columna. <br>
         La función toma un parámetro: <br>
         data: Array de todas las filas. <br>
         La función debe retornar un string con el texto a mostrar en el footer.

+ 2 - 1
docs/_i18n/zh-cn/documentation/column-options.md

@@ -140,6 +140,7 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
         <td>Function</td>
         <td>undefined</td>
         <td>
+        The context (this) is the column Object. <br>
         The cell formatter function, take three parameters: <br>
         value: the field value. <br>
         row: the row record data.<br>
@@ -151,7 +152,7 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
         <td>Function</td>
         <td>undefined</td>
         <td>
-        The context (this) is the column Object.
+        The context (this) is the column Object. <br>
         The function, take one parameter: <br>
         data: Array of all the  data rows. <br>
         the function should return a string with the text to show in the footer cell.