I need to get lookup values, but i cannot use SharePoint Designer. I tried to use the solution proposed there, but it does not work with document libraries. It raises an error:
"Unable to get property 'Row' of undefined or null reference"
Maybe, it's different property for document library, not ListData?