How to setDeleteRows(true) for current lines of a array widget

166 views
Skip to first unread message

yves.d...@gmail.com

unread,
Jul 29, 2015, 4:27:33 PM7/29/15
to Fujitsu RunMyProcess Developer Community
Hello,

When you set id_widget.setDeleteRows() to false, it applies to all existing lines of the array widget: the blue minus sign disappear for all lines of the widget.
But when you set it back to true, it applies only to new created lines but not to existing lines : the blue minus line doesn't re-appear for existing lines.

How to have the blue minus sign to appear again for existing lines

Regards
Yves

Murali

unread,
Jul 30, 2015, 2:42:50 AM7/30/15
to Fujitsu RunMyProcess Developer Community, yves.d...@gmail.com, yves.d...@gmail.com
Hi Yves,

The value of property DeleteRows applies to all rows in array widget and is working fine at our end.

//Tested script
id_widget.setDeleteRows(false); //minus disabled for all rows
id_widget.setDeleteRows(
true);  //minus enabled for all rows

Please verify once again at your end and share if there is any specific scenario at your end.

Regards,
Murali

yves.d...@gmail.com

unread,
Jul 30, 2015, 7:57:06 AM7/30/15
to Fujitsu RunMyProcess Developer Community, yves.d...@gmail.com
Hello Murali,

Try following scheme :
Configure widget (see Configuration attachement)
- create an array widget my_array with a single date column
- in the 'add rows' script button, enter : id_my_array.setDeleteRows(true);
_ in the 'delete rows' script button, enter : var size = id_my_array.getRowsCount();
if (size == 4) {id_my_array.setDeleteRows(false);}

Step 1
- create 5 rows by clicking on the 'plus' sign

Step 2
- Delete one row by clicking on the minus sign. As 'RowsCount' now equal 4, the Delete rows JS applies and the 'minus' button disappear

Step 3
- Add a row : the newly added row doesn't have the 'minus' sign

Step 4
-Repeat step 2 and 3 and you get an array widget with no minus sign except on one line

Regards
Yves


Configuration.jpg
Step 1.jpg
Step 2.jpg
Step 3.jpg
Step 4.jpg

yves.d...@gmail.com

unread,
Aug 5, 2015, 6:22:12 AM8/5/15
to Fujitsu RunMyProcess Developer Community, yves.d...@gmail.com
Hello,

Any news ?

Regards
Yves

Pankaj Kumar

unread,
Aug 5, 2015, 6:28:45 AM8/5/15
to Fujitsu RunMyProcess Developer Community, Yves de Veyrac
Hi Yves,

We have sent this query to the product team, will update you soon on this.


Thank you,
Pankaj Kumar
Fujitsu RunMyProcess Support

Hello,

Any news ?

Regards
Yves

--
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/86b1d8a7-3a3c-43e5-82c9-aa2614779a50%40runmyprocess.com.

Murali

unread,
Aug 12, 2015, 12:33:56 AM8/12/15
to Fujitsu RunMyProcess Developer Community, yves.d...@gmail.com
Hi Yves,

This issue has been considered as a Bug and will be fixed in upcoming Release.
Thanks for reporting.

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