I have the requirement to enter the data into comboBox after getting the text from TextBox by pressing the add button. How can i get it done in SmartGWT?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I believe you’ll want to start by associating a DataSource with your ComboBoxItem. After that, be sure to call both setValueField(…) and setDisplayField(…) on the combo box. You should start seeing fetch requests get sent when the combo box is instantiated, and the results of the fetch should display in the combo box.