I want to make further customization in the cell template, but first I obviously need obj.value to work. But all values show up as ‘undefined’ with the above code. I can access the value with obj.a; but then obj.parent (which I also need) turns out to return undefined.
I need to show the percentage (100*obj.value/obj.parent’s value) alongside the obj.value; while still sorting by obj.value only.
Are you loading data from json or from xml ? In case of xml, the content of item tag will be mapped to obj.value ( still it must not result in undefined )
As for obj.parent - is it some other property on the data object, or you want to access the parent element in case of treetable ?
Please share a data snippet for which the above issue occurs