Support Article

Repeating Grid row expand is not working

SA-37993

Summary



User has a repeating grid which contains expandable rows. When user expands any row, the width of the first column increases.

This column width increases every time the row is expanded.






Error Messages



Not Applicable


Steps to Reproduce



1) Configure a repeat grid with expandable rows.
2) At run time when user expands any row, the first column width increases.


Root Cause



When the Grid is in 100% width mode (Set in the Presentation tab), the table layout is set as auto and the width is given as 1% for the expand icon column.

This leads to an unexpected behavior as the browser tries to reset the width of the table columns.

Resolution



Perform the following local-change steps:

1.Try the following CSS snippet in the UserWorkForm:

<style>
[datasource="EmpGrid.pyEmployeePL_pxExpandPaneSingleRow_1"] #bodyTbl_right tr.cellCont > td:first-child {
width: 28px !important;
}
</style>


2. Change the value of the datasource attribute by inspecting the Data Object Model (DOM).

Published May 15, 2017 - Updated May 30, 2017

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.