EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Max Lamda on November 24, 2015, 05:07:33 AM



Title: Datagrid does not Fix the head-row to appropriate Sizes
Post by: Max Lamda on November 24, 2015, 05:07:33 AM
If I load the data not via Ajax but in the javascript itself, then the width of the fields in head-row do not match the columns in the table width the data below.

If I load it via Ajax: No proplem.

If i reload the data: No problem.

The method fixColumnWidth does not change the behavior.

Any idea what to call in the LoadSuccess-handler?

Reloading the local data works but costs about half a second of extra-time and is not really nicely programmed...




Title: Re: Datagrid does not Fix the head-row to appropriate Sizes
Post by: stworthy on November 24, 2015, 06:29:25 AM
Please show an example to demonstrate your issue.


Title: Re: Datagrid does not Fix the head-row to appropriate Sizes
Post by: Max Lamda on November 24, 2015, 09:04:31 AM
Quite not easy because it is part of a huge application and the scripts are generated dynamically.

I will try ...