Calling an array from a json in a method post inside a table

Hi everyone, I have this code https://snippet.webix.com/qsteay6t and I need to call an array from a json in a method “POST” inside a table, I trying using this lines since 254 until 258 but i got an error. What I trying to do is call the array “documentos” inside a table after to click in the button “Detalle”. Thanks

first of all your cobrosHistory item itself is an array. thus you cannot call documentos from this item.
you need to use index for cobrosHistory or provide some map function or any other factory.