User Profile & Activity

Glenn Layaar Support
Page
of 99

You could declare a variable as a flag, in our snippet we use IgnoreEvent variable to determine if the AfterItemSelected should be ignored during UpdateUI event.

var IgnoreEvent = false;

function AddRowClientSide() {
var wc4 = ISGetObject('WebCombo1');

//Add new item in WebCombo

IgnoreEvent = true;
wc4.UpdateUI();
IgnoreEvent = false;
}

function OnAfterItemSelected(ctrlId) {
if (!IgnoreEvent) {
var combo = ISGetObject(ctrlId);
//Do functionality
}
}



All times are GMT -5. The time now is 4:19 PM.
Previous Next