New answers tagged


Fields value which is passed columns attribute of data table could be the problem. Try creating your fields like below (label, fieldname and type). fieldname in lowercase.


You are re-assigning the doDetails list each time you loop - which needs only to be done once. Also you are overwriting the doLineItems list each time in the loop - you want to push the items rather than assign them. Like this: //do this to avoid invoking unnecessary binding in the loop let tempLineItems = []; data.doDetails.forEach( doDetail => { ...

Top 50 recent answers are included