Table OOTB "Optimize Code" functionality causing issues

I have a requirement for the business to be able to hide/unhide columns by the user. Using the Pega OOTB functionality, I am able to achieve this by checking the "optimize code" check box, followed by "personalize table" checkboxes. When I check these boxes it causes 2 issues. !. Compare my dynamic layout image with the actual table in the UI. As you can see on my dynamic layout the 3 header sections are no where to be seen in the UI, but they are in the dynamic layout. Problem 2: After selecting the apply button (not pictured) in the modal dialogue that pops up when a user clicks the "customize table" button it hides a large portion of the embedded icons that I am using under the status column. What is more curious, is that after clicking apply twice, it actually hides ALL of the icons on the page. Upon refresh of the whole page, the icons reappear, and the setting selected under the customize table modal have been saved.

TLDR Adding personalization to the table is causing issues hiding/moving different elements in the UI.


Keep up to date on this post and subscribe to comments

October 14, 2019 - 8:03am

For #1 - Table header and footer are deprecated in optimise table so it wont shown up. Action Toolbar is provided incase you want to configure your own actions.
For #2 -  Included icons are non-auto controls ? Ideally it should work if its auto generated control. Want to know more about this usecase.

October 14, 2019 - 9:38am
Response to tails

When you say non-auto controls, do you mean an icon that isn't a  "standard icon"?  

October 14, 2019 - 10:32am

Update for issues # 2, After doing some digging around my Lead discovered it was an issue with the parameter. For some reason it was losing context. It is definitely a Pega bug. As a work around, we are manually putting the property into the section as a visibility condition. The only downside is that this will make us have to use 3 sections for our 3 separate status columns rather than reusing one.