EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Fabrice on August 20, 2015, 05:36:42 AM



Title: Datagrid problem with columns header width and rows width when fitcolumns=true
Post by: Fabrice on August 20, 2015, 05:36:42 AM
In my datagrid, columns header width is not the same of columns width for datas!

For example, if my first column's header is 'Number' the width of the header column is calculated to show 'Number'
but in the datas i have '1', '2', column's width of rows are calculated to show '1' and '2'.




Title: Re: Datagrid problem with columns header width and rows width when fitcolumns=true
Post by: jarry on August 20, 2015, 06:48:07 AM
Please show an example to demonstrate your issue.


Title: Re: Datagrid problem with columns header width and rows width when fitcolumns=true
Post by: Fabrice on September 29, 2015, 01:35:43 AM
It's very hard for me to show an example but the result is like this:

N°|Name
2345|Fabrice  |
12   |Jarry     |

As you can see, it is as if the autofit option applied to the column headers and the content of the grid independently.