Forum /
Ext GWT Community Forums (1.x) /
Ext GWT: Help & Discussion (1.x) /
gxt TextField not showing boxes
gxt TextField not showing boxes
Here's the code i used:
private LayoutContainer createFilterByColumn2() {
FormLayout formLayout = new FormLayout();
formLayout.setLabelAlign(LabelAlign.LEFT);
LayoutContainer main = new LayoutContainer(formLayout);
dfFrom = new DateField();
dfFrom.setFieldLabel("From Date");
DateTimePropertyEditor propertyEditor = dfFrom.getPropertyEditor();
propertyEditor.setFormat(dateFormatter);
main.add(dfFrom);
cboDateType = new ComboBox<StringModel>();
cboDateType.setFieldLabel("Date Type");
cboDateType.setDisplayField("label");
cboDateType.setEmptyText("Select");
cboDateType.setEditable(false);
cboDateType.setTriggerAction(TriggerAction.ALL);
ListStore<StringModel> dateTypeStore = RegistryUtil
.getManifestDateTypeStatusStore();
cboDateType.setStore(dateTypeStore);
main.add(cboDateType);
txtEquipment = new TextField<String>();
txtEquipment.setFieldLabel("Equipment IDs");
txtEquipment.setEmptyText("Enter you name");
txtEquipment.setMinLength(4);
main.add(txtEquipment);
TextField<String> txtDestinName = new TextField<String>();
txtDestinName.setFieldLabel("Destination Name");
main.add(txtDestinName);
return main;
}
Here's the screenshot :
Attached Images
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us