I have used combobox button with the use of "Data Source" as it works fine. I got all data what I want. When I add value in combobox through code It will be inserted into combobox also but when I use "type ahead" then It will be shown me data also.
But then I remove all value from combobox I then click on combobox then It shows me "No Item to show" instead I have many values.
My Data source code is as follows.
..................
..................
<field name="student_name" title="Student Name" type="select"
editorType="comboBox" optionDataSource="student_master"
valueField="id" displayField="name" />
...................
Source Code:
I have refreshed commbobox as follows after add new values
req.setActionURL(GWT.getHostPageBaseURL()+"sc/DataSourceLoader?dataSource="+refresh_inv);
......................
Sometimes "type ahead" feature works fine and sometimes it doesn't.
Thanks.
But then I remove all value from combobox I then click on combobox then It shows me "No Item to show" instead I have many values.
My Data source code is as follows.
..................
..................
<field name="student_name" title="Student Name" type="select"
editorType="comboBox" optionDataSource="student_master"
valueField="id" displayField="name" />
...................
Source Code:
I have refreshed commbobox as follows after add new values
req.setActionURL(GWT.getHostPageBaseURL()+"sc/DataSourceLoader?dataSource="+refresh_inv);
......................
Sometimes "type ahead" feature works fine and sometimes it doesn't.
Thanks.
Comment