Results 1 to 2 of 2

Thread: Problem with dateField if the Dialog is modal

  1. #1
    Ext GWT Premium Member
    Join Date
    Aug 2011

    Default Problem with dateField if the Dialog is modal

    Hello all

    I have a problem with the DateField in my aplication. I have a Dialog with a DateField. If the Dialog ist set as modal and I open the DatePicker, the DatePicker closes. If I open the DatePicker the second time it works fine.

    If I set the Dialog not to modal everthing works fine.
    package test.client;
    import com.extjs.gxt.ui.client.widget.Dialog;
    import com.extjs.gxt.ui.client.widget.form.DateField;
    public class DateFieldTest extends Dialog {
     public DateFieldTest() {
      setSize("300px", "300px");
      DateField dateField = new DateField();
    What can I do that the DateField works fine if the Dialog is modal?

  2. #2
    Sencha User
    Join Date
    Mar 2011


    It may happen because modal dialog when looses focus closes all the above widgets. I had similar issues because i had custom loading indicator which was shown above the modal dialog. I solved it by adding x-ignore style to it. Check whether the datefield popup has x-ignore style assigned

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts