Hi,
what is the correct way to requery / refresh a comboboxitem?
I have a form which contains a comboboxitem and I now I have a case, where while I am editing a record, a user might want to hit a button to requery the list part of a comboboxitem, since new selectabeĺe values will appear in the list after the requery.
But I have not found a way to do it. I tried these commands:
* myComboBoxItem.fetchData(); // Does not do a fetch for the list.
* myComboBoxItem.invalidateDisplayValueCache(); // Does not do a fetch for the list.
I've even set myComboBoxItem.setCachePickListResults(false) but it does not help either.
TIA
Andre
what is the correct way to requery / refresh a comboboxitem?
I have a form which contains a comboboxitem and I now I have a case, where while I am editing a record, a user might want to hit a button to requery the list part of a comboboxitem, since new selectabeĺe values will appear in the list after the requery.
But I have not found a way to do it. I tried these commands:
* myComboBoxItem.fetchData(); // Does not do a fetch for the list.
* myComboBoxItem.invalidateDisplayValueCache(); // Does not do a fetch for the list.
I've even set myComboBoxItem.setCachePickListResults(false) but it does not help either.
TIA
Andre
Comment