Can you explain what is sth, & I didnt get why you have done like this as below:
sth. means just an array with data.
I try to get my dataprovider var with the help of parentsDocument. Because the dataprovider is in an another file (filename). This code is inside an ItemRenderer.
I just wanted to know if there is any other way to get the dataprovider variable. But it works with parentsDocument.
1 person found this helpful
The parent document of an itemRenderer is not always what you expect.
You're better off using the listOwner property on listData.