Browse Source

Update the column width documentation

Dennis Hernández 11 years ago
parent
commit
b4c42696a5

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

@@ -85,9 +85,10 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
     <tr>
         <td>width</td>
         <td>data-width</td>
-        <td>Number</td>
+        <td>Number {Pixels or Percentage}</td>
         <td>undefined</td>
-        <td>The width of column. If not defined, the width will auto expand to fit its contents.</td>
+        <td>The width of column. If not defined, the width will auto expand to fit its contents. Also you can add '%' to your number and
+		the bootstrapTable will use the percentage unit, otherwise, you can add or no the 'px' to your number and then the bootstrapTable will use the pixels</td>
     </tr>
     <tr>
         <td>sortable</td>

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

@@ -85,9 +85,10 @@ Las propiedades de la columna están definidas en `jQuery.fn.bootstrapTable.colu
     <tr>
         <td>width</td>
         <td>data-width</td>
-        <td>Number</td>
+        <td>Number {Pixeles or Porcentaje}</td>
         <td>undefined</td>
-        <td>El ancho de la columna. Si no es definido, el ancho se adaptará al contenido.</td>
+        <td>Indica el ancho de la columna. Si no es definido, el ancho será auto. Tmabién puede agregar '%' a su número y la bootstrapTable
+		usará la unidad de porcentaje, sino, puede agregar o no 'px' a su número para que bootstrapTable use pixeles.</td>
     </tr>
     <tr>
         <td>sortable</td>