Support Article
column width in repeat grid can not be resized
SA-8134
Summary
The width of the column in a repeating grid is not fixed. The user can't resize the width.
Error Messages
Not Applicable
Steps to Reproduce
- Open a repeat grid.
- Try to resize its columns.
Root Cause
This is an expected behavior.
Resolution
Perform the following local-changes:
1. Local-change to disable resizing of specific columns of a grid:
Specify Read-Write Styles and Read-Only Style on each header cell as stop-resize, and include the CSS given below in UserWorkForm.
<style>
.stop-resize .yui-resize-handle.yui-resize-handle-r {
display: none;
}
</style>
Note: Column resize is not available for the grids with Width option as px.
2. Local-change to disable resizing of grid in general:
Include the CSS below in UserWorkForm.
<style>
.gPXFixed .yui-resize-handle.yui-resize-handle-r {
display: none;
}
</style>
Note: Notice the change in CSS used ".gPXFixed." ".stop-resize" is not required in this case.
Published May 14, 2016 - 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.