I am using printJs library for printing in properties I added JSON object properties its working fine, but if that JSON object contains one more JSON object inside it is showing [object object]
. Can anyone tell me the solution?
PrintJS({
printable: printIndexes,
properties: ['reporter', 'entryTime', 'exitTime', 'status'],
type: 'json',
gridHeaderStyle: 'color: red; border: 2px solid #3971A5;',
gridStyle: 'border: 2px solid #3971A5;',
header: 'List of master index'
Please see this image it is showing like [object object]
there I want to display name.