ICEfaces
  1. ICEfaces
  2. ICE-5244

Scrollable table columns got invalid width from columnWidths

    Details

    • Assignee Priority:
      P2
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      File com.icesoft.faces.component.ext.renderkit.TableRenderer.java

      1079c1094
      < if (columnWidths.length > 0) {
      ---
      > if (columnWidths.length > 0 && htmlDataTable.getColNumber()<columnWidths.length) {
      Show
      File com.icesoft.faces.component.ext.renderkit.TableRenderer.java 1079c1094 < if (columnWidths.length > 0) { --- > if (columnWidths.length > 0 && htmlDataTable.getColNumber()<columnWidths.length) {

      Description

      Between september an december 2009 file TableRender.java was modified and method getWidthFromColumnWidthsArray replaced old code.
      But unfortunately behaviour of this method is different then original code.

      Case > columnWidth has less column than dataTable :
      - in old scode scrollable table columns with undefined width has 100% width, this solution fills full table body (outer div)
      - in new code table body do not fill outer div

      Workaround patch should be applied to method getWidthFromColumnWidthsArray

        Activity

        Krashan Brahmanjara created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Salesforce Case []
        Component/s Components [ 10012 ]
        Fix Version/s 1.8.2-EE-GA_P01 [ 10220 ]
        Fix Version/s 1.8.3 [ 10211 ]
        Assignee Priority P2
        Assignee Yip Ng [ yip.ng ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20159 Fri Jan 08 14:42:57 MST 2010 yip.ng ICE-5244: Fixed bug in outputting column widths when no. of columnWidths is less than no. of table columns.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/TableRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #20181 Mon Jan 11 15:52:28 MST 2010 yip.ng ICE-5244: Fixed bug in outputting column widths when no. of columnWidths is less than no. of table columns.
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/components/src/main/java/com/icesoft/faces/component/ext/renderkit/TableRenderer.java
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 2.0-Alpha2 [ 10214 ]
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        yip.ng made changes -
        Attachment screenshot-1.png [ 12159 ]
        yip.ng made changes -
        Attachment screenshot-1.png [ 12159 ]
        yip.ng made changes -
        Attachment screenshot-1.png [ 12160 ]
        yip.ng made changes -
        Attachment screenshot-2.png [ 12161 ]
        Hide
        Joanne Bai added a comment -

        Verified with success during release testing cycle. Test app is available at repo\qa\trunk\Regression\ICE-5251

        Show
        Joanne Bai added a comment - Verified with success during release testing cycle. Test app is available at repo\qa\trunk\Regression\ ICE-5251
        Joanne Bai made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            yip.ng
            Reporter:
            Krashan Brahmanjara
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: