Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

Unable to bind text with oj-bind-for-each with oj-row-expander

edited Nov 7, 2024 7:57AM in Visual Builder 6 comments

Summary:


I am trying to use oj-row-expander property in oj-table. The values of column headers are dynamic. Hence the attributes inside the child row is also dynamic. I was trying a oj-bind-for-each inside the expander. But it does not seem to bind the text correctly to row expander. The hard coded values work fine on testing. Could some one help?


Version:

Visual Builder Run time version: 2410.2.0, Oracle JET version: 16.1.4


Code Snippet :

<oj-table scroll-policy="loadMoreOnScroll" id="oj-table-175486-2" class="oj-table-stretch oj-flex-item "    style="height: 400px; width: 100%"

  columns="{{ $variables.headerNames }}">   

<template slot='rowTemplate' data-oj-as='row'>     

<tr>       

<td>         

<oj-row-expander context="[[row]]"></oj-row-expander>         

<span><oj-bind-text value="[[row.item.data.myFirstValueThatisStatic]]"></oj-bind-text></span>       

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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