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
11 replies
Subscribers
8 subscribers
Views
3686 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Grid field display using CDT
Dastagiri Dudekula
over 7 years ago
I am trying to display a grid field using a Employee CDT which has nested Skill CDT, association between these two CDTs is one to many. For an instance it's like one employee with multiple skills.
When I am trying to display it says the total count of grid is different from the number of rows to be displayed.
Can anyone help me by providing multiple solutions to solve this issue?
OriginalPostID-240663
Discussion posts and replies are publicly visible
Parents
0
Rama Thummala
Certified Lead Developer
over 7 years ago
@Dastagiri
The reason for the issue is :
Suppose there are three cells in a column that contain 11, the array 22 and 23, and 33. We might expect this index function to return: { 11, { 22, 23 }, 33 } However, in most cases when arrays are nested, one single array is created using the elements the nested arrays. So { 11, { 22, 23 }, 33 } becomes { 11, 22, 23, 33 }. You can try this yourself by testing an expression rule with the definition length({ 11, { 22, 23 }, 33 }).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Rama Thummala
Certified Lead Developer
over 7 years ago
@Dastagiri
The reason for the issue is :
Suppose there are three cells in a column that contain 11, the array 22 and 23, and 33. We might expect this index function to return: { 11, { 22, 23 }, 33 } However, in most cases when arrays are nested, one single array is created using the elements the nested arrays. So { 11, { 22, 23 }, 33 } becomes { 11, 22, 23, 33 }. You can try this yourself by testing an expression rule with the definition length({ 11, { 22, 23 }, 33 }).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data