array widget data add & update using text widget & Javascript

529 views
Skip to first unread message

sarjera...@flowian.com

unread,
Jul 20, 2015, 2:44:34 AM7/20/15
to suppor...@runmyprocess.com
Hello Team,

I have one array widget where i can add data from add button using text widget & JS.

But i am facing the problem while i want to edit or update that array row data using JS & text widget.while loading array data into text widget it loads only last index data into text widget. but i want to update each row data when i clicks on "Edit" link.after clicking on "Edit" link each row gets loaded into text widget as per array index.

Also on update button array data should be updated.

Note : I haven't used collection here.

Please refer attached screenshot.

If you want any more details please let me know.

Thanks
Sarje.

array_widget_issue.JPG

Sweta Suman

unread,
Jul 21, 2015, 9:33:41 AM7/21/15
to suppor...@runmyprocess.com
Hi Sarjerao,

You have to pass index of row(clicked) in JS for loading and updating the array. Follow below steps -

1)  Take a js column in array and write script as - 
     id_array.id_html[P_index].setHtml("<a href='javascript:' onClick='edit("+[[_row_]]+")'>Edit</a>");

     where id_html is the identifier of html column inside array.

2)  Take a js widget In WI(outside array) and write script as per attachment. On Update button call update function.


Hope this helps you


--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" 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/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/10484784-e6b8-4096-933d-78141c47c76d%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.



--
Thanks,
Sweta 
Fujitsu RunMyProcess Support
js.txt

sarjera...@flowian.com

unread,
Jul 22, 2015, 5:05:47 AM7/22/15
to Fujitsu RunMyProcess Developer Community
Hi Sweta,

Thanks for your reply.

My problem is solved.

Thanks
Sarjerao

Reply all
Reply to author
Forward
0 new messages