Posted: 11 Aug 2015 16:16 EDT Last activity: 28 Sep 2015 10:25 EDT
CPM Grid Last Row Styling Issue
My client recently upgraded to CPM 7.1.3 on Pega 7.1.8. After the upgrade they are seeing an issue with the borders of the last row in the grid.
See screenshot attached. The grid is OOTB with Style set to "Default" and Container Format set to "None".
The css that is causing this to happen is in the rule cpm-override css in PegaAppCA:07-13-02
See screenshot below:
Before I go and override this, wanted to check if there is something else I need to do. This is happening to all the grids in the application and so creating a custom format and setting the css is out of the option.
that's peculiar. If CPM needs this for an unusual usage of Grids then it really should have created a Grid format for specific usage - not use the default. So that a descendant CSS declaration could be targeted at that usage scenario.
My guess is this is a style tweak based on CPM using the Skin exactly as CPM ships... i.e. Grids have a bottom border only under each row and the idea was to remove that or to stop a double border with the Grid outline bordering.
IMO it's not a great solution as it makes too many assumptions about customers not styling Apps to fit their brand or styleguide. If it was just bottom border that was to be hidden as I suspect then the declaration should be border-bottom: none anyway.
I would go ahead and comment this out. If its widely used it should be apparent quickly when walking through CPM.
If it's not widely used I would deal with the specific instances when you find them. It's less likely to be impacting than as it currently is.
Thanks for sharing the info Prashant . We don't use default skin but we had our share of issues with AIG skin too. However we did resolve alot of Grid related issues and also sugsted couple of enhancement to the engineering team.