1

ng-click="grid.appScope.selectItem($event,row.entity.$index);" i want to pass row index through this function. Even if i tried with $index,$parent.$index. I am unable to get the index.

Vikas
  • 11,859
  • 7
  • 45
  • 69
Akhil
  • 443
  • 1
  • 9
  • 29

1 Answers1

1

try rowRenderIndex or $parent.$index

ng-click="grid.appScope.selectItem($event, rowRenderIndex);"

or

ng-click="grid.appScope.selectItem($event, $parent.$index);"
Ramesh Rajendran
  • 37,412
  • 45
  • 153
  • 234