Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

ComboBoxItem setOptionOperationId

$
0
0
I have a ComboBoxItem with an option data source and an option operation id. When I type into the combo box and a "look ahead" fetch is sent to the server, the operation id I specified ("fetchRef") is used as expected and all is good. If however I click on the arrow to open up the combo box and do the query in there, the regular "fetch" operation is called and not the fetch operation id I set (in the example below the fetch operation id is "fetchRef").

Code:

lookupComboBox = new ComboBoxItem();
lookupComboBox.setOptionDataSource(DataSource.getDataSource("task"));
lookupComboBox.setOptionOperationId("fetchRef");

Am I doing something wrong or missing something?

Thanks!

Viewing all articles
Browse latest Browse all 4756

Trending Articles