Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Won't Fix
-
Affects Version/s: EE-3.3.0.GA_P03, 4.1.1
-
Fix Version/s: EE-3.3.0.GA_P04
-
Component/s: ACE-Components
-
Labels:None
-
Environment:All
-
Assignee Priority:P1
-
Support Case References:Support Case #13631 - https://icesoft.my.salesforce.com/5007000001VgH4y
-
Workaround Exists:Yes
-
Workaround Description:Hide1. Add a rowIndexVar="i" attribute to the ace:dataTable component.
2. For each ace:column component, modify the style attribute to this:
style="#{i == 0 ? '' : 'width:25%'};"
Make sure to specify the respective width percentage for each column.
3. You may avoid doing the previous step for the last column, since it's not really necessary, and it seems to cause the appearance of a horizontal scrollbar if you do apply the previous step to it.Show1. Add a rowIndexVar="i" attribute to the ace:dataTable component. 2. For each ace:column component, modify the style attribute to this: style="#{i == 0 ? '' : 'width:25%'};" Make sure to specify the respective width percentage for each column. 3. You may avoid doing the previous step for the last column, since it's not really necessary, and it seems to cause the appearance of a horizontal scrollbar if you do apply the previous step to it.
Description
A customer wants to use the ace:dataTable with scrolling enabled. They have a few requirements:
1. Usage of percentage column widths to facilitate a responsive design.
2. Hidden overflow of table cells.
3. Have all columns displayed on the page (no vertical scrollbar).
These requirements are possible through some additional CSS:
1. Add the width CSS values on the ace:column tag.
2. Usage of an h:panelGroup that surrounds the column contents (<h:panelGroup layout="block" style="overflow-x:hidden; white-space: pre;">).
3. Setting "table-layout: fixed !important;" to the style class rendered for the dataTable.
With these CSS changes added, the column alignment of the scrollable dataTable becomes compromised.
The purpose of this JIRA is to investigate a way to satisfy all of the requirements but prevent the columns from being miss-aligned, through changes to the dataTable code or via other CSS changes.
1. Usage of percentage column widths to facilitate a responsive design.
2. Hidden overflow of table cells.
3. Have all columns displayed on the page (no vertical scrollbar).
These requirements are possible through some additional CSS:
1. Add the width CSS values on the ace:column tag.
2. Usage of an h:panelGroup that surrounds the column contents (<h:panelGroup layout="block" style="overflow-x:hidden; white-space: pre;">).
3. Setting "table-layout: fixed !important;" to the style class rendered for the dataTable.
With these CSS changes added, the column alignment of the scrollable dataTable becomes compromised.
The purpose of this JIRA is to investigate a way to satisfy all of the requirements but prevent the columns from being miss-aligned, through changes to the dataTable code or via other CSS changes.
-
Hide
- Case13631Example2.war
- 9.76 MB
- Arran Mccullough
-
- META-INF/MANIFEST.MF 0.1 kB
- META-INF/context.xml 0.1 kB
- WEB-INF/classes/.../application/Input.class 2 kB
- WEB-INF/classes/.../TestCaseController.class 2 kB
- WEB-INF/lib/icefaces-ace.jar 6.09 MB
- WEB-INF/lib/icefaces.jar 686 kB
- WEB-INF/lib/javax.faces-2.2.13.jar 2.99 MB
- WEB-INF/web.xml 2 kB
- fixedLayout.xhtml 3 kB
- index.xhtml 0.5 kB
- noFixedLayout.xhtml 2 kB
- tabSet.xhtml 0.9 kB
-
Hide
- Case13631Example2.zip
- 23 kB
- Arran Mccullough
-
- Case13631Example2/build.xml 3 kB
- Case13631Example2/.../ant-deploy.xml 2 kB
- Case13631Example2/.../build-impl.xml 80 kB
- Case13631Example2/.../genfiles.properties 0.5 kB
- Case13631Example2/.../private.properties 0.6 kB
- Case13631Example2/nbproject/.../private.xml 0.3 kB
- Case13631Example2/.../project.properties 4 kB
- Case13631Example2/nbproject/project.xml 0.9 kB
- Case13631Example2/src/conf/MANIFEST.MF 0.0 kB
- Case13631Example2/src/.../Input.java 2 kB
- Case13631Example2/.../TestCaseController.java 1 kB
- Case13631Example2/web/fixedLayout.xhtml 3 kB
- Case13631Example2/web/index.xhtml 0.5 kB
- Case13631Example2/web/.../context.xml 0.1 kB
- Case13631Example2/.../noFixedLayout.xhtml 2 kB
- Case13631Example2/web/tabSet.xhtml 0.9 kB
- Case13631Example2/web/WEB-INF/web.xml 2 kB
-
- FixedLayout.jpg
- 163 kB
-
- NoFixedLayout.jpg
- 107 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
There are no subversion log entries for this issue yet.