1. #1
    Ext User
    Join Date
    May 2008
    Posts
    26
    Vote Rating
    0
    mramadoss is on a distinguished road

      0  

    Default Window hides a widget

    Window hides a widget


    I'm using the Window widget (com.extjs.gxt.ui.client.widget.Window) for a popup window. One of the widget inside is a date picker (thapar's). When the datepicker's calendar drops down, it goes behind the window. This happens only when I use this within GXT's window. On GWT panel it works alright.

    I'm using Gxt 1.1.2. The same behavior happens even with Gxt 1.0.

    Has anybody else faced this issue?

    Thanks,

  2. #2
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default


    any reason why you don't just use the GXT datepicker ?

  3. #3
    Ext User
    Join Date
    May 2008
    Posts
    26
    Vote Rating
    0
    mramadoss is on a distinguished road

      0  

    Default


    The SimpleDatePicker that we use, appears like a textbox, that drops down a calender on cursor focus. On lose focus of cursor, the calendar vanishes. This allows us to use the space in the window better.

  4. #4
    Ext GWT Premium Member gslender's Avatar
    Join Date
    Mar 2008
    Location
    Brisbane, Australia
    Posts
    1,572
    Vote Rating
    3
    gslender is on a distinguished road

      0  

    Default


    you mean like the Birthday field example? http://extjs.com/examples/forms/forms.html

    whats wrong with the GXT widget?

  5. #5
    Ext User
    Join Date
    May 2008
    Posts
    26
    Vote Rating
    0
    mramadoss is on a distinguished road

      0  

    Default


    Thanks I'll try that.

  6. #6
    Ext User
    Join Date
    May 2008
    Posts
    26
    Vote Rating
    0
    mramadoss is on a distinguished road

      0  

    Default


    I tried that and it worked. I replaced all my SimpleDatePicker widget with DateField.

    While it looked very elegant, the problem I ran into was that IE is crashing intermittently. I found that it consistently happened when I doubleclicked on a selected datevalue on the datefield.

    I posted this in the bug forum. Darrell wanted to simulate this error on the demo code. The demo code for datefield (see link in gslender's post above) did not crash. However if setWidth is used, I was able to simulate the crash.

    How do you reduce the size of the datefield other than using setFieldWidth?

    Has anyone used setFieldWidth on datefield and did not encounter problem?

Thread Participants: 1