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

Row styling on calculated columns is not working

edited Jul 25, 2019 9:15AM in Visual Builder

Summary

Row styling on calculated columns is not working

Content

Hi,

We have added a new column in the table using cell template by referring https://blogs.oracle.com/shay/adding-calculated-fields-to-your-visual-builder-ui

Also, we have done row styling using row-renderer='[[oj.KnockoutTemplateUtils.getRenderer("row_tmpl", true)]]' 

<script type="text/html" id="row_tmpl">    
         <tr data-bind="style:{ color: x == y ? 'red' : y > z ? 'blue' : 'black' }">
                <td data-bind="text: col1">
                </td>
                <td data-bind="text: col2">
                </td>               </tr>                 </script>

Now - we are not able to add this calculated column in row template. Whenever we add this, table doesnt render at all.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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