EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: Overwhelmer on May 21, 2014, 06:20:15 AM



Title: Datagrid columns resize problem (with some fixed columns)
Post by: Overwhelmer on May 21, 2014, 06:20:15 AM
Hi,
I have a problem with the column resize of the datagrid.
I prepared a demo here: http://jsfiddle.net/SE5jc/28/

If you scratch the divider making the columns tiny (overlaps) and then enlarge the divider again sometimes I see only the F4 column takes all the space.
The screenshots are:
Scratch:
(http://s7.postimg.org/w4v4qjw0n/Screenshot_2014_05_21_15_15_58.jpg) (http://postimg.org/image/w4v4qjw0n/)
After resize:
(http://s28.postimg.org/4t67fjq0p/Screenshot_2014_05_21_15_12_02.jpg) (http://postimg.org/image/4t67fjq0p/)

I need to be sure this does not happen in my application.
I expect that the resize function would divide the remaining space between the resizable columns, but this is not always true...

Can you help me?

Thanks


Title: Re: Datagrid columns resize problem (with some fixed columns)
Post by: Overwhelmer on June 04, 2014, 05:01:48 AM
Nobody can help me?

The posted example is just for showing the problem quickly.
The real problem is that after several browser window resize (using dual monitor can be frequent to move the browser between monitors making the application resize its view) I have a column that starts growing more and more.
I'd like to know if there is a workaround for making sure that the space is equally distributed between NOT fixed columns.

Thanks


Title: Re: Datagrid columns resize problem (with some fixed columns)
Post by: stworthy on June 04, 2014, 07:45:27 PM
This issue has been fixed. Please download the updated datagrid plugin from http://www.jeasyui.com/easyui/plugins/jquery.datagrid.js.


Title: Re: Datagrid columns resize problem (with some fixed columns)
Post by: Overwhelmer on June 13, 2014, 05:48:20 AM
Thank for the answer.

Unfortunately the application I am working on is in production stage.
I cannot change the easyui version.
Currently we developed the application using jQuery EasyUI 1.3.3.
We also have the Easyui source code, because we purchased the commercial edition when we started developing your library.

Is there any workaround for solving the issue without upgrading to 1.3.6?

Thanks


Title: Re: Datagrid columns resize problem (with some fixed columns)
Post by: stworthy on June 13, 2014, 07:28:26 AM
The attached file is the fixed edition of datagrid for easyui 1.3.3. Please download it and include to the page.