EasyUI Forum
May 03, 2024, 08:49:33 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Datagrid columns resize problem (with some fixed columns)  (Read 7705 times)
Overwhelmer
Newbie
*
Posts: 6


View Profile Email
« 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:

After resize:


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
Logged
Overwhelmer
Newbie
*
Posts: 6


View Profile Email
« Reply #1 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
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #2 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.
Logged
Overwhelmer
Newbie
*
Posts: 6


View Profile Email
« Reply #3 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
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #4 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!