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

        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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: