Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: EE-2.0.0, EE-3.0.0.GA
-
Fix Version/s: EE-3.0.0.GA_P01, EE-3.2.0.BETA, EE-3.2.0.GA
-
Component/s: Facelet Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P3
Description
There are some issues when setting a width for the RichDataTextColumn object.
Test Case scenario - There is a RichDataGrid component with 3 columns. The first column is set to be hidden or shownByDefault=false. The two other columns have their width set to 300px.
There is some different behavior depending on if the first column is hidden and what version of ICEfaces (2.0 vs 3.0).
If the first column is hidden:
- ICEfaces EE 2.0 - The widths do get applied to the columns although this isn't shown in the rendered CSS.
- ICEfaces EE 3.0 - The widths are not set on the columns. Columns get the default 100px widths.
If the first column is visble:
- ICEfaces EE 2.0 - The widths get set for all columns, even though the first column does not have its width set. Looking at the rendered source, the first two columns have their width set to 300px, but the last one still gets set to 300px.
- ICEfaces EE 3.0 - The widths get set for the first two columns and the last one has the default width. This gets rendered the same as in 2.0 but since the last column does not render with a width it gets set to the default.
Test Case scenario - There is a RichDataGrid component with 3 columns. The first column is set to be hidden or shownByDefault=false. The two other columns have their width set to 300px.
There is some different behavior depending on if the first column is hidden and what version of ICEfaces (2.0 vs 3.0).
If the first column is hidden:
- ICEfaces EE 2.0 - The widths do get applied to the columns although this isn't shown in the rendered CSS.
- ICEfaces EE 3.0 - The widths are not set on the columns. Columns get the default 100px widths.
If the first column is visble:
- ICEfaces EE 2.0 - The widths get set for all columns, even though the first column does not have its width set. Looking at the rendered source, the first two columns have their width set to 300px, but the last one still gets set to 300px.
- ICEfaces EE 3.0 - The widths get set for the first two columns and the last one has the default width. This gets rendered the same as in 2.0 but since the last column does not render with a width it gets set to the default.
Test case attached showing issue with 3.0 and the first column shown.