I am having 1 grid Grid1, inside a section Section1.
Calling a section Section2 from Grid1.
Section2 is having a grid Grid2.
Pagination is applied on Grid2.
When loaded the Section1 on a portal, getting error as Harness Failed, Component stack mismatch.
This error appears only if I apply Pagination on Grid2.
Is that the default behaviour that we can not apply pagination on a grid which is inside a grid or I am the only one who is getting this error?
I have the alternative solution as Repeating Layout inside Grid1, which is working fine even if I apply pagination on Repeating Layout.
But there is a difference between pagination of repeating layout and a repeating table. That is why I want to use Repeating Table inside Repeating Table.
I have personally not tried this, but you could explore these suggestions that have been offered in the past.
a)Maintain individual parameter pages for each grid
b)Maintain some index in the parameter name to uniquely identify each grids parameters.
Also keep in mind that the component stack error was not seen in the past for this configuration. This could be due to templating introduced beginning Pega 7.3. Regardless of the component stack error, a problem may still be seen as reported in the support articles.
Posted: 3 years ago
Posted: 16 Jan 2019 1:36 EST
Ajay Kumar (Ajay Kumar)
Pagination wont work for grid inside grid if the inner grid is having source of report definition.
I made the source of inner grid to Data page and it worked after few attempts. I don't know why it worked after few attempts. "May be cache issue!"
But Data page as a source for inner grid worked.