Unable to bind text with oj-bind-for-each with oj-row-expander
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>