浏览代码

Update the column width documentation

Dennis Hernández 11 年之前
父节点
当前提交
b4c42696a5
共有 2 个文件被更改,包括 6 次插入4 次删除
  1. 3 2
      docs/_i18n/en/documentation/column-options.md
  2. 3 2
      docs/_i18n/es/documentation/column-options.md

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

@@ -85,9 +85,10 @@ The column options is defined in `jQuery.fn.bootstrapTable.columnDefaults`.
     <tr>
     <tr>
         <td>width</td>
         <td>width</td>
         <td>data-width</td>
         <td>data-width</td>
-        <td>Number</td>
+        <td>Number {Pixels or Percentage}</td>
         <td>undefined</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>
     <tr>
     <tr>
         <td>sortable</td>
         <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>
     <tr>
         <td>width</td>
         <td>width</td>
         <td>data-width</td>
         <td>data-width</td>
-        <td>Number</td>
+        <td>Number {Pixeles or Porcentaje}</td>
         <td>undefined</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>
     <tr>
     <tr>
         <td>sortable</td>
         <td>sortable</td>