0 votes
835 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 1.3k views
0 votes
0 answers 648 views
0 votes
1 answer 623 views
0 votes
0 answers 68 views
0 votes
1 answer 695 views
0 votes
1 answer 244 views
0 votes
0 answers 226 views
0 votes
0 answers 174 views
0 votes
0 answers 259 views
0 votes
1 answer 403 views
0 votes
2 answers 384 views
0 votes
0 answers 473 views

613 questions

493 answers

91 comments

2.0k users

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