You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Conditional Icon/Image based on table value

Accepted answer
edited Nov 9, 2020 7:41PM in Visual Builder 3 comments


How to show different icons in a column based on a value?


Hello Guys,

I have mapped the classes that are created to display icons, example: 

<span class="vb-icon vb-icon-warning">
        <oj-bind-text value="[[$]]"></oj-bind-text>

I'm trying a conditional set of icon with the class values being retrieved from a javascript function but looks like that is not possible to call a function to class attribute, there is any workaround to do this kind of validation to display the icons based on a value?

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!