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
8 replies
Subscribers
2 subscribers
Views
2440 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Reports
68879 - no subject - Hi,\nI have a multiple CDT with four fie
saram
over 12 years ago
Hi,
I have a multiple CDT with four fields. I would like to show, in a new Tempo record, a grid with four columns (one for each field) - like the function "ncolumntable" in dashboards.
I tried to put each CDT field (ex. rf!Employees.name) into a "data" field in the Grid Component but it doesn't work.
Thanks!...
OriginalPostID-68879
Discussion posts and replies are publicly visible
Parents
0
revat.anandsongkit
Appian Employee
over 12 years ago
What I would recommend trying is saving the CDT as a data subset local variable then referencing that local variable in the fields. In doing so, you are enabling sorting. For example, load(pagingInfo: topaginginfo(1,-1), dataSubset: todatasubset(rf!Employees, pagingInfo), rule!APN_uiPagingGrid(columns:{rule!APN_uiGridTextColumn(label: "Name", field: "name", data: dataSubset.data.name)...})) For more details about datasubet, have a look at
forum.appian.com/.../Appian_Scripting_Functions
and to learn more about paging configuration, have a look
forum.appian.com/.../Paging_Grid_Component
. Hope this helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
revat.anandsongkit
Appian Employee
over 12 years ago
What I would recommend trying is saving the CDT as a data subset local variable then referencing that local variable in the fields. In doing so, you are enabling sorting. For example, load(pagingInfo: topaginginfo(1,-1), dataSubset: todatasubset(rf!Employees, pagingInfo), rule!APN_uiPagingGrid(columns:{rule!APN_uiGridTextColumn(label: "Name", field: "name", data: dataSubset.data.name)...})) For more details about datasubet, have a look at
forum.appian.com/.../Appian_Scripting_Functions
and to learn more about paging configuration, have a look
forum.appian.com/.../Paging_Grid_Component
. Hope this helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data