I am trying to get a specific value 'ename' from Juputer Notebook on event of:
events.on('execute.CodeCell', function(evt, data) {
var outputs = data.cell.output_area.outputs; //this works
console.log(outputs[0].ename) //this does not work
}
The above code does not give the required result. While, if I check the same in the Browser, it shows the required result
The type of data in the screenshot is an Array. I am not sure why does it not work. It throws this error:
Please let me know what is wrong in my code or am I missing something. Thanks