Support Article
Radio buttons display with extra space between rows in a grid
SA-57756
Summary
Radio buttons display with extra space between the rows in a grid.

Error Messages
Not Applicable
Steps to Reproduce
Add a radio button control to the grid.
Root Cause
A defect in Pegasystems’ code or rules.
Resolution
Perform the following local-change:
Change the radio buttons to horizantal.
Apply the below script in UserWorkForm and change the selector ("div[node_name='SectionName'] #PEGA_GRID_CONTENT table.gridTable table tr.cellCont th:first-child") based on the section name. <script>
function widthChange(){
$("div[node_name='SectionName'] #PEGA_GRID_CONTENT table.gridTable table tr.cellCont th:first-child").css('width','1%');
}
$(document).ready(function(){
setTimeout(function(){
widthChange();
pega.u.d.attachOnload(widthChange, true);
}, 1000);
});
widthChange();
</script>

Published July 23, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.