0 votes
1.6k views
by (21.5k points)
edited by

context.getSubview(viewId, requiredOrder)
Accesses a subview instance given the subview ID. This method is similar tocontext.subview[viewid] except that the return value is an array of subview instances.
viewId(String) – the view ID or control ID of the subview
requiredOrder (boolean) – (optional) indicates whether the array returned needs to maintain the same order as in the DOM tree. The default value is false.
The call this.context.getSubview(“viewid”) returns an unsorted array of subview objects. The call this.context.getSubview(“viewid”, false) returns exactly same array.
The only difference between the two calls and the function callthis.context.getSubview(“viewid”, true) is thatthis.context.getSubview(“viewid”, true) returns an array of subview objects whose order matches the order of the DOM nodes in the DOM tree.

1 Answer

0 votes
by (21.5k points)

context.getSubview(viewId, requiredOrder)

Related questions

0 votes
1 answer 2.2k views
0 votes
0 answers 1.1k views
0 votes
1 answer 872 views
0 votes
0 answers 1.6k views
0 votes
0 answers 698 views
0 votes
1 answer 1.2k views
0 votes
1 answer 445 views
0 votes
0 answers 608 views
0 votes
0 answers 421 views
0 votes
0 answers 643 views
0 votes
1 answer 777 views
0 votes
2 answers 674 views
0 votes
0 answers 787 views

634 questions

495 answers

97 comments

2.7k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...