Question
· Apr 17, 2023

Refreshing Combo

Hi Guys

How can I refresh a dataCombo after saving a new element in it?

I've the following dataCombo and after saving a new element I would like to fresh and reload that data in it? 

<dataCombo id="Asset" name="Assets" align="left" size="30" maxRows="400" 
 sql="select ID, name From MSDS_Serenity.Kit Where (is null or %UPPER(name)[%UPPER(?)) And Loc=AND Active=1 and ParentKit  is null and (RapidSterTemp != 1 or RapidSterTemp is null) and asset=1 order by name asc
searchKeyLen="10"
editable="true"
required="false" 
showEmpty="true"
displayColumns="1,2"
choiceColumn="2"
valueColumn="1"
dropdownWidth="230px" onchange=""  onblur="zenPage.saveAsset(zenThis)">
<parameter value="?" />
<parameter value="" />
<parameter value="" />
</dataCombo>
 

I tried the following with no luck

 var type zen( "Asset");

type.clearCache();
type.executeQuery();
type.focus();

 

Thanks

 

 

Thanks

Product version: Ensemble 2014.1
Discussion (1)1
Log in or sign up to continue