Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
3 replies
Subscribers
7 subscribers
Views
2115 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
In SAIL Recipes ,following code snippet is there for desigining inline editable
georgej
over 9 years ago
In SAIL Recipes ,following code snippet is there for desigining inline editable grid. I have a question related to the partial function used here. For the supporting rule "ucItemRowEach" ,there is a parameter called "index". What value goes into this "index" parameter during run time.How does this partial function resolve during run time ; as per documentation we need to provide parameters for partial functions in a paranthesis following the function.
rows: a!applyComponents(
function: rule!ucItemRowEach(
items: local!items,
index: _,
itemsToken: local!itemsToken
),
array: if(or(isnull(local!items), count(local!items) < 1), {}, 1+enumerate(count(local!items))),
arrayVariable: local!itemsToken
)
OriginalPostID-155367
OriginalPostID-155367
Discussion posts and replies are publicly visible
Parents
0
srirams761
A Score Level 2
over 9 years ago
Hi George,
The "array" value gets passed to the "index" param
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
srirams761
A Score Level 2
over 9 years ago
Hi George,
The "array" value gets passed to the "index" param
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data