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

        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
        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: