selecting a value of list from array column and assigning it to another column

110 views
Skip to first unread message

ii2team...@gmail.com

unread,
Oct 28, 2014, 11:41:15 PM10/28/14
to suppor...@runmyprocess.com
i have a table which has 2 column. one column is a custom list. so by selecting a label from the list i want the corresponding value of the selected label to be shown in the next column. please do help

Murali

unread,
Oct 29, 2014, 1:31:41 AM10/29/14
to suppor...@runmyprocess.com, ii2team...@gmail.com
Hi,

Add a Javascript column in your array widget and configure it's listen to variables as : my_array.list[P_index]
and include the JS code : id_my_array.id_value[P_index].setText(id_my_array.id_list[P_index].getSelectedValue());

In above, my_array, list are the names of array widget, custom list respectively.

Hope this helps.

Regards,
Murali

ii2team...@gmail.com

unread,
Oct 29, 2014, 3:39:29 AM10/29/14
to suppor...@runmyprocess.com, ii2team...@gmail.com
On Wednesday, October 29, 2014 9:11:15 AM UTC+5:30, ii2team...@gmail.com wrote:
> i have a table which has 2 column. one column is a custom list. so by selecting a label from the list i want the corresponding value of the selected label to be shown in the next column. please do help
thanks.. But its not working for me
This is my Table. Here in the first column(Model) there is a custom list. when i want to select a model the corresponding value of the selected should appear in the unit price column.
is it the id of the custom list or the column where the custom list is to be taken.
array.png

Murali

unread,
Oct 29, 2014, 4:08:08 AM10/29/14
to suppor...@runmyprocess.com, ii2team...@gmail.com
Hi,

For your configurations, the relative code is...

listen to variables : my_array.model[P_index]

id_my_array.id_unit_price[P_index].setText(id_my_array.id_model[P_index].getSelectedValue());

Regards,
Murali
Reply all
Reply to author
Forward
0 new messages