Function to extract a row from array

143 views
Skip to first unread message

svi...@astrainfotech.com

unread,
Apr 7, 2016, 7:14:50 AM4/7/16
to Fujitsu RunMyProcess Developer Community
Hi

When I am using getValue with array widget, it seems to be returning a JSON object with content of entire array. Is there any way to extract/set values of specific row/column?

Request help

Thanks in advance

Regards


Vinod

Murali

unread,
Apr 7, 2016, 11:57:51 AM4/7/16
to Fujitsu RunMyProcess Developer Community, svi...@astrainfotech.com
Hi Vinod,

Please use below syntax to get the values, here 'P_index' starts from '0'.

//alert(id_my_array.id_desc[P_index].getValue());

Below are some code examples on user-guide to get some hands-on for the array widget functions.

https://docs.runmyprocess.com/Developer_Guide/Web_Interface/Design/Summing_Array
https://docs.runmyprocess.com/Developer_Guide/Web_Interface/JS_Code_Examples/Column_Inactivation
https://docs.runmyprocess.com/API_Reference/JS/RMP_Array.html

Regards,
Murali
Fujitsu RunMyProcess Support
Reply all
Reply to author
Forward
0 new messages