to access array properties in mustache syntax, you have to use the dot-syntax: payload.0
When you return two messages from a Function with [msg , msg1], then msg will be sent out of the first Function node output and msg1 will be sent out of the second output.
If you return [ [msg, msg1] ] then they will be both sent from the first output, one after the other. That is an important thing to understand - they are sent one after the other. The Template node does not receive both messages at the same time - they arrive as individual messages.
It does not matter what you called the local variable in the Function node, when a message arrives at a Template node its the message. So {{{payload}}} will always refer to the payload property of the message the Template node is currently handling.
I'm using JSGrid to display data and perform CRUD operation. The fields with type "select" (dropdown) are not displaying data. Once I click to add and edit data, I'm unable to make the fields to appear as dropdown with options from the database (e.g. Location_Name from location table). I just would like to make this work.