-
14 Apr 2009 11:26 PM #1
Problem in TreeTable Horizontal scrollbar
Problem in TreeTable Horizontal scrollbar
Hi,
I have noticed one problem in TreeTable component's horizontal scroll bar.
Suppose I have 6 columns in TreeTable. Now, I stretched any 2 or 3 columns and increasing size of it. So, it hides some last columns. Actullay, I got horizontal scroll bar appeared at bottom but it not allowed me to scroll up to the last column of TreeTable.
Hope, you got my problem.
I have noticed same problem in GWT-EXT ShowCase also. Please check it in http://extjs.com/explorer/#treetable. Once you open it, you will not have any horizontal scrollbar. Now, Stretch Column "Name" up to maximum size and notice that last column "Size" hides and not able to scroll up to "Size" column eventhough horizontal scrollbar appears.
Is this bug of TreeTable itself or any work-around I need to do to get rid of it. Please provide me any solution ASAP.
Thanks in Advance
LivingLegends
-
15 Apr 2009 6:02 AM #2
THis was already reported and is already fixed in SVN
-
15 Apr 2009 8:44 PM #3
Hi,
Glad to hear that this bug is fixed. But, how to get updated one from SVN?
I have downloaded latest version of GWT-EXT (gxt-1.2.3) but didn't get it solved in it.
So, what I need to do more to get it resolved.?
Please help me regarding this.
Thanks again.
Livinglegends
-
16 Apr 2009 12:22 AM #4
Hi. SVN is only available for subscribers...
The one you should get for this fix is 2.0M1...
1.2.3 does not contain the fix...
-
16 Apr 2009 1:58 AM #5
Hi,
Thanx for quick reply.
I have two questions.
1.
I have downloaded 2.0M1 and applied to my project. But, I am getting too many errors in my project after it. It seems that so many methods signature has been changed in 2.0M1.
So, how to migrate from 1.2.3 to 2.0.
2. is this library (2.0M1) available on maven repository?
Thanx
Livinglegends
-
16 Apr 2009 2:19 AM #6
If you unzipped the gxt, you will see a "2.0_migration_guide.html" file there...
That can help you.
Regards,
Michel.
-
16 Apr 2009 2:36 AM #7
But I think this file contains list of changes made in 2.0M1.
I am not getting how to deal with it to migrate to 2.0.
Below are some contents from this file. It doesn't have any steps to migrate.- MyMessages renamed to XMessages.
- Added LoadConfig interface, ListLoadConfig now extends LoadConfig. With this change, and properties of the load config object will be passed as request parameters when using a HttpProxy or ScriptTagProxy.
- Removed AppEvent type parameters, added unkeyed getData and setData.
- Removed LoadEvent type parameters, add getData and setData methods.
- Removed parent generic from TreeModel.
- All public event fields replaced with getters / setters.
- BaseEvent doit field replaced with setCancelled and isCancelled methods.
- Replaced int based event types with EventType class.
So, how to deal with it? I have so many such type of discrepancy in project due to 2.0.
Thanx
-
16 Apr 2009 2:43 AM #8
And your problem is described in the file...
Replaced int based event types with EventType class.
It is not telling you how to do the changes, it is just telling you what needs to be changed...
I have not seen the code yet, but it seems that instead of using integer, you just need to use some of the EventType classes...
I wonder if someone else can help you with this.
-
7 Jul 2009 3:57 AM #9
I have the same Problem, all my controllers using EventType in integer. I have no idea how to fix it at the moment, and the migration_guide is not really a help for me.In my project I am using registerEventTypes method of Controller class. In this method I am passing integer parameter but new class in 2.0 accept only EventType as a parameter.
So, how to deal with it?
-
7 Jul 2009 4:01 AM #10
creates a new eventype for you. Now you cant have collisions because you forgot what numbers you arleady used and what not.Code:EventType yourType = new EventType();


Reply With Quote