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
5 replies
Subscribers
7 subscribers
Views
1813 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hello, My Question is related to dynamic section creation. I have my
tapans
over 8 years ago
Hello,
My Question is related to dynamic section creation. I have my sections created based on user enters the data. So let say for One department if client has entered data for 5 sections, I want to display them just like 3 sections in firstcolumncontent and rest 2 in secondcolumncontent. So the section creation is totally dynamic and based on data entered by users.
While saving the data into database, I am also saving sectionorder (like 1,2,3..), now how I can write a code so I can have my sections distributed in first and secondcolumncontent?
Just a thought : totalcount(all sections)/2, if result is 0 data can be distributed to both columns and if result is odd, the other way around, but I am not sure how I can do that.
Any help/hint regarding this would be appreciated.
Attached mockup screenshot of sections entered by user.
Thanks!
OriginalPostID-211061
OriginalPostID-211061
Discussion posts and replies are publicly visible
Parents
0
sagarl511
A Score Level 2
over 8 years ago
What are the different SAIL components you are planning to display? Are they all text or simple components? As it also depends on type of components and amount data you want to display. for e.g. paging grid will require more amount of screen space,etc. You might be able to use mod(numberofsections,2) and enumerate() function to get the section numbers to be displayed in columns. Logic will completely depend on metrics you choose to display the data.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sagarl511
A Score Level 2
over 8 years ago
What are the different SAIL components you are planning to display? Are they all text or simple components? As it also depends on type of components and amount data you want to display. for e.g. paging grid will require more amount of screen space,etc. You might be able to use mod(numberofsections,2) and enumerate() function to get the section numbers to be displayed in columns. Logic will completely depend on metrics you choose to display the data.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data