EasyUI Forum

General Category => General Discussion => Topic started by: Alfred on October 16, 2019, 11:04:36 PM



Title: How do we resize datagrid inside dialog?
Post by: Alfred on October 16, 2019, 11:04:36 PM
I am trying to follow the code in http://code.reloado.com/ecituq3/5/edit#preview to resize the datagrid inside dialog. But it is not working. It seems the code listens to only the window resize event.  So how can we make the datagrid listen to the dialog resize event and show columns accordingly like the one in the link mentioned here. Also I used the fluid extension I found in this forum to resize the dialog. It works but does not resize the datagrid based on the priority of the column to show.

Regards,
Alfred


Title: Re: How do we resize datagrid inside dialog?
Post by: jarry on October 17, 2019, 11:28:00 PM
Please look at this updated example http://code.reloado.com/ecituq3/93/edit#preview


Title: Re: How do we resize datagrid inside dialog?
Post by: Alfred on October 21, 2019, 07:48:17 PM
Thanks, Jerry. This works perfectly.