EasyUI Forum
November 05, 2025, 12:56:09 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / EasyUI for jQuery / Re: Datagrid columns resize problem (with some fixed columns) 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
2  General Category / EasyUI for jQuery / Re: Datagrid columns resize problem (with some fixed columns) 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
3  General Category / EasyUI for jQuery / Datagrid columns resize problem (with some fixed columns) 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
4  General Category / EasyUI for jQuery / Re: [treegrid] autoSizeColumn just one time and not every LoadData on: April 07, 2014, 08:40:20 AM
Thanks, it works!
5  General Category / EasyUI for jQuery / [treegrid] autoSizeColumn just one time and not every LoadData on: April 07, 2014, 05:33:25 AM
Hello,
i am using the treegrid component.
I am performing lazy loading of the node children as described on the documentation.

In order to make the grid fit better with the data I load I want to use the autoSizeColumn like this:
Code:
 if(this.firstLoad)
 {
     var fields = this.$treegrid.treegrid('getColumnFields'); 
     for(var i=0; i<fields.length; i++){ 
         var field = fields[i];             
         this.$treegrid.treegrid('autoSizeColumn', field);
     }        
 }
I need to use the autoSizeColumn just once after laoding the tree root. (I am sure all the other data will fit the column width of the tree root)

Unfortunately I see that the library, after calling this.$treegrid.treegrid('autoSizeColumn', field), starts recalculating the columns width every time I expand a tree node.
I can say this because I see the method onResizeColumn: function(field, width) called every time I expand the node.

Is there a way for make the library to stop the auto column resize?

Thanks a lot.

6  General Category / EasyUI for jQuery / [EasyUI Layout] Move the split in specific position. on: February 14, 2014, 02:45:30 AM
Hello,
I'd like to move the split in a specific position based on a click on a button.
I cannot find an easy way to do this.
It seems that the layout plugin does not have this method.

Moreover I need to change the properties for max/min Height/Width based on the browser window resize.
Even in this case I cannot fine ad easy way to do this.

Anyone can help me?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!