EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Pierre on September 21, 2017, 07:30:07 AM



Title: [SOLVED] Datagrid columns
Post by: Pierre on September 21, 2017, 07:30:07 AM
Hello
I'm using stworthy's example to "autohide" columns and found one problem.
Example is here:
http://code.reloado.com/ecituq3/39/edit#preview
Please try to resize window. You will see that columns are hidden (and it is OK) but there is empty space (please see attached image).
How to avoid that, please?


Title: Re: Datagrid columns
Post by: Pierre on September 21, 2017, 10:55:50 AM
I solved it when I changed datagrid fields width declaration, from
width="10%"
to
width="10" (and for all other columns)
It should be like that because dialog have width of 100%
Corrected example is here:
http://code.reloado.com/ecituq3/40/edit#preview
you can resize it and column will be hidden on smaller devices.