In a grid celltemplate, I am trying the get a value which is in the parent scope of a grid like this
<div sigef-entrees-sorties="grid.getCellValue(row, col)"
type-flux="grid.appScope.typeFlux"/>
but grid.appScope.typeFlux is undefined. So how can i get this value.
Thanks.
I think that you are trying to access a
parentRowofUi-gridsub tree.I was also facing this issue; that
appscope.rowwasundefined, but I solved it like this:We have
row.treeLevel&row.treeNode.parentRow. These will give us theTreeLevel& its Parent Row Object.This will work to get parent Row.