ValueChangeEvent String is not fired in IE9

2012-08-17 Thread Joey Li
I tried to add a ValueChangeHandler to textbox. In IE 9, I found that the event is not fired at all. But it works fine in Chrome and FF. I google it and some said the changeHandler event is not fired as well. Anyone has workaround for it? Thanks. -- You received this message because you are

Re: ValueChangeEvent String is not fired in IE9

2012-08-17 Thread Joey Li
) { // do things here. but the event is not fired in IE9 so codes inside here is not executed at all. } }); On Friday, 17 August 2012 18:57:30 UTC-4, Dennis Haupt wrote: no problem here. are you doing anything special? Am 18.08.2012 00:31, schrieb Joey

Re: ValueChangeEvent String is not fired in IE9

2012-08-17 Thread Joey Li
Joey Li: I tried to add a ValueChangeHandler to textbox. In IE 9, I found that the event is not fired at all. But it works fine in Chrome and FF. I google it and some said the changeHandler event is not fired as well. Anyone has workaround for it? Thanks. -- You received

Re: change DateBox default time

2012-08-16 Thread Joey Li
there is DST in where I am living. In my app, I want to show users their correct TimeZone no matter where they live. For example, in Eastern America/Canada users, the app shoulde show UTC-5 in summer time( DST ), and In winter, it should show UTC-4 (PDT). However, my app is always showing UTC-4

Re: change DateBox default time

2012-08-16 Thread Joey Li
is incorrect. I am still struggling with my 1st problem. How to change the default time in datebox from noon to midnight.. Jens suggests using CalendarUtil.resetTime() , but i have no idea how. any ideas? Thanks On Thursday, 16 August 2012 13:06:51 UTC-4, Joey Li wrote: there is DST in where

change DateBox default time

2012-08-15 Thread Joey Li
I try to use GWT DateBox. When i click the DatePicker, the date and time will be shown in the box. But it looks like the default time is 12:00pm (noon) For example, If I picked 2012, Aug, 16th in the datePicker, and my code is the following: date.setFormat(new

Re: GWT - Unexpected scrollbar appeared in GWT-DataGrid while using Canvas

2012-08-15 Thread Joey Li
On Thursday, 2 August 2012 18:13:30 UTC-4, Joey Li wrote: I found a bug that there will be some unexpected scrollbars appeared in GWT-DataGrid when using Canvas in the same area. No matter what functions of Canvas I used, even if I just use Canvas to draw a line, it will cause problem

Re: GWT - Unexpected scrollbar appeared in GWT-DataGrid while using Canvas

2012-08-15 Thread Joey Li
On Thursday, 2 August 2012 18:13:30 UTC-4, Joey Li wrote: I found a bug that there will be some unexpected scrollbars appeared in GWT-DataGrid when using Canvas in the same area. No matter what functions of Canvas I used, even if I just use Canvas to draw a line, it will cause problem

Re: GWT - Unexpected scrollbar appeared in GWT-DataGrid while using Canvas

2012-08-15 Thread Joey Li
Any updates? Anyone encounter this as well? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/y0nbOSzSuFEJ. To post to this group, send email to

Re: How to vertically and horizontally centre the form panel inside a scroll panel

2012-08-04 Thread Joey Li
Thanks. Your method works fine and it is the only solution I can have right now. By the way, could you please give me some example about how to add resize handler to my page so that myform's position is always in the center even if the window is resized? On Friday, 3 August 2012 10:47:13

How to vertically and horizontally centre the form panel inside a scroll panel

2012-08-02 Thread Joey Li
I have a FormPanel inside a ScrollPanel. The ScrollPanel is located in the center part of DockLayoutPanel. I want to vertially and horizontally center the FormPanel inside the ScrollPanel. I tried a few ways to do this but no success. I have tired putting a verticalPanel/horizontalPanel

GWT - Unexpected scrollbar appeared in GWT-DataGrid while using Canvas

2012-08-02 Thread Joey Li
I found a bug that there will be some unexpected scrollbars appeared in GWT-DataGrid when using Canvas in the same area. No matter what functions of Canvas I used, even if I just use Canvas to draw a line, it will cause problem. The scenario is hard to describe clearly. I will try my best.

Problem about using DataGrid wrapped StackLayoutPanel

2012-07-10 Thread Joey Li
I tried to use DataGrid and put it in the stacklayoutpanel.At the time when I provide the data for the ListDataProvider, the CellTable is not visible in the browser because it's on a non active tab (although it's visible in the DOM tree). After switching to the tab containing the CellTable

problem using DataGrid in StackLayoutPanel

2012-07-10 Thread Joey Li
I tried to use DataGrid and put it in the stacklayoutpanel.At the time when I provide the data for the ListDataProvider, the CellTable is not visible in the browser because it's on a non active tab (although it's visible in the DOM tree). After switching to the tab containing the CellTable