I am able to access outer foreach
loop's index till 2 levels, but at the third level, it is not working. The following code, how to get the index of the first foreach
loop in the innermost foreach
loop:
<!-- ko foreach: Clauses-->
<!-- ko foreach: ClauseRepeatingSections -->
<!-- ko foreach: RepeatingSectionElements -->
How to get Clauses item index here?