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
2034 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
PhilB
A Score Level 1
over 9 years ago
To clarify, the index value tells each iteration of rule!ucItemRowEach which index within the array of items it is referring to. rule!ucItemRowEach then displays or updates the value(s) at that index.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
PhilB
A Score Level 1
over 9 years ago
To clarify, the index value tells each iteration of rule!ucItemRowEach which index within the array of items it is referring to. rule!ucItemRowEach then displays or updates the value(s) at that index.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data