0 votes
2.0k views
by (21.6k 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.6k points)

context.getSubview(viewId, requiredOrder)

Related questions

0 votes
1 answer 2.6k views
0 votes
0 answers 1.2k views
0 votes
1 answer 1.1k views
0 votes
0 answers 2.7k views
0 votes
0 answers 823 views
0 votes
1 answer 1.5k views
0 votes
1 answer 547 views
0 votes
0 answers 749 views
0 votes
0 answers 514 views
0 votes
0 answers 847 views
0 votes
1 answer 1.1k views
0 votes
2 answers 897 views
0 votes
0 answers 1.1k views

635 questions

495 answers

98 comments

3.0k 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
...