Question


HCL
IN
Last activity: 7 Aug 2016 21:59 EDT
UI Repeating Grid
Hi Guys,
Currently I am displaying data in grid as follows
Admincomponent contracttype purepremium
=========================================
5.3 DD prem1
5.4 BB prem2 so on....
Now I need to display grid data as below(data should be one under other), Could you please help me on this.
Admincomponent
5.3
contracttype
DD
purepremium
prem1
----etc
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!


Pegasystems Inc.
IN
Hello Rajasekhar,
Thanks for posting your query in the PSC.
Could you please let me know the Pega version used at your end.
Regards,
Rincy


Pegasystems Inc.
AU
Would a Repeating Dynamic Layout serve this purpose?


HCL
IN
Hi Rincy,
I am using 7.1.6 version.
Thanks&Regards,
Raj


Pegasystems Inc.
IN
Hello Raj,
Thanks for the response.
I see that using Repeating Grid layout(https://docs-previous.pega.com/repeating-grid-and-repeating-dynamic-layouts), you cannot get the desired behavior (that is) stacked record over row because, in the repeating grid layout configuration is made for the column. Here, you can add/remove column from the Design layout. However, you cannot add/remove rows from the Design layout.
Can you verify if below approach helps at your end?
- Create layout group of stacked type
- create repeating grid with only one column pointing to first field (say ID)
- create repeating grid with only one column pointing to second field (say Name)
- create repeating grid with only one column pointing to third field (say Description)
This would display outcome as:
ID
1
2
3
Name
X
Y
Z
Description
Aa
Ba
Ca
Can you try as Joel suggested i.e. use Repeating Dynamic layout and configure fields ID, Name, Description to a section. Refer this section to use Report Definition as source(which was used for your repeating grid).
Regards,
Rincy


Areteans Technologies
AU
1. Enable Responsiveness checkbox in Presentation tab of Repeating Grid
2. In skin under Grids component mentioned responsive breakpoint to convert to list and increase the width to maximum to display as list as you wanted it.


Areteans Tech
AU
it works , try setting the max-width like 3000 and above..but it always takes Pimary value as Heading


HCL
IN
Thank you verymuch for your help.


Blue Rose Technologies GmbH
DE
In addition to configuring responsive behavior for the grid, you can mark all the columns as secondary and have a label(which is equivalent to the header column) for pxDisplayText control. Now via styling this label can be aligned top to get the desired results.


Coforge
IN
Assuming like this.You already have all values in Pagelist.
on Submit in post Processing call activity and follow the below steps.
Create new ValueList in below its NVL1 and append each page property value of pagelist to Valuelist.
Note:- Pagelist all properties type should match with Valuelist value property type.if not matches then i think u need to convert to ValueList Value type .
As the above scenario can be achieved using Data Transform so i say use DT only.