knockout.js anidado foreach acceso propiedad del bucle externo
Tengo un bucle foreach anidado en knockout.js y quiero acceder a una propiedad desde el objeto actual en el bucle externo dentro del bucle interno. ¿Cómo haría esto?
<!-- ko foreach: graduationDateRows -->
<tr>
<td class="center" data-bind="text: CalendarYear"></td>
<!-- ko foreach: $root.graduationDatesHeaders -->
<td class="center" data-bind="text: /* !here! */"></td>
<td></td>
<!-- /ko -->
</tr>
<!-- /ko -->