Access index of $parent in knockout.js December 5, 2022 by Tarik to access the index of the parent object use $parentContext.$index() rather than $parent.index()