Is there a way to query a model condition to see if it is or is not currently active? In something i am working on, I’d use the status of the condition to go down one of two paths in the logic.
Page 1 / 1
There is an inactive property on Model Conditions that will be false if a Condition is active, trueif it is inactive.
could you share the syntax used within an if statement in a snippet?
var model = skuid.$M(‘MyModel’);
var condition = model.getConditionByName(‘MyConditionName’,true);
var conditionIsActive = !condition.inactive;
Thank. I’ve got everything working.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.