hi everyone
i'm new of this forum and im new to use smartgwt
i have a problem
i try to create a search bar with button
i use a DynamicForm
my problem is the search button not appear at right of search bar but appear down on it
anyone can help me?
i put a code
DynamicForm NameForm = new DynamicForm();
NameForm.setIsGroup(true);
NameForm.setGroupTitle("Name Search");
TextItem NameField = new TextItem("Value");
NameField.setTooltip("Insert Object Name");
ButtonItem ButtonParameter3 = new ButtonItem();
ButtonParameter3.setAutoFit(true);
ButtonParameter3.setTitle("Search");
ButtonParameter3.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
// grid.fetchData(form.getValuesAsCriteria());
}
});
NameForm.setFields(NameField,ButtonParameter3);
thx for help
i'm new of this forum and im new to use smartgwt
i have a problem
i try to create a search bar with button
i use a DynamicForm
my problem is the search button not appear at right of search bar but appear down on it
anyone can help me?
i put a code
DynamicForm NameForm = new DynamicForm();
NameForm.setIsGroup(true);
NameForm.setGroupTitle("Name Search");
TextItem NameField = new TextItem("Value");
NameField.setTooltip("Insert Object Name");
ButtonItem ButtonParameter3 = new ButtonItem();
ButtonParameter3.setAutoFit(true);
ButtonParameter3.setTitle("Search");
ButtonParameter3.addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
// grid.fetchData(form.getValuesAsCriteria());
}
});
NameForm.setFields(NameField,ButtonParameter3);
thx for help
Comment