Use $rawData in place of $item for referencing an observable view model. $rawData will work for any observable view model, not just for ones in an array.