Is it possible to display collection to HTML table in RMP?
Collection name: testcsv123
Column names in collection - Item Number,Part Number,Name
Regards,var my_pattern = {};
col_name.listCallback(my_pattern, {}, load_ok, load_ko);
function load_ok(result) {
var html_table="<table><tr><td>Item Number</td><td>Part Number</td><td>Name</td></tr>";
var my_object = result;
for(var i =0;i<result.length;i++){
my_object= result[i];
html_table=html_table+"<tr><td>"+my_object.item_nb+"</td><td>"+my_object.part_nb+"</td><td>"+my_object.name+"</td></tr>";
}
html_table=html_table+"</table>";
id_your_html.setHtml(html_table);
}
function load_ko(result) {alert("ko " + JSON.stringify(result));}
Sabine EL RASSY
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/3ca0ad32-5f30-4157-8279-4cd98cab4d49%40runmyprocess.com.
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "RunMyProcess Support Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum...@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at http://groups.google.com/a/runmyprocess.com/group/supportforum/.
For more options, visit https://groups.google.com/a/runmyprocess.com/groups/opt_out.
Sabine EL RASSY
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/e908a900-771f-42f1-854f-487d472e60c0%40runmyprocess.com.
Sabine EL RASSY
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/1e644ac0-3a0a-4b97-8a0b-f7f0fc76be9e%40runmyprocess.com.