Ceene
22 Sep 2011, 12:35 AM
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() {
setModal(true);
setSize("300px", "300px");
DateField dateField = new DateField();
add(dateField);
}
}
What can I do that the DateField works fine if the Dialog is modal?
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() {
setModal(true);
setSize("300px", "300px");
DateField dateField = new DateField();
add(dateField);
}
}
What can I do that the DateField works fine if the Dialog is modal?