ICEfaces
  1. ICEfaces
  2. ICE-2849

The columnGroup breaks when resizable = true

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      columnsGroup + resizable

      Description

      The columnGroup breaks when resizable = true

        Activity

        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Adnan Durrani [ adnan.durrani ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Adnan Durrani made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Invalid [ 6 ]
        Hide
        Adnan Durrani added a comment -

        The columnGroup doesn`t support resizing itself. In order to resize the column the column headers needs to be defined by the "ice:column" not by the "columnGroup".
        However if the headers are defined by the both "column" and "columnGroup" then changing the column header will resize the columnGroup too.

        (e.g.)

        The following columns won't be resized, as all the headers are defined by the columnGroup
        <ice:dataTable resizable="true">
        <f:facet name="header">
        <ice:columnGroup>
        <ice:headerRow>
        <ice:column colspan="2">
        <ice:outputText value="Full Name"/>
        </ice:column>
        </ice:headerRow>
        <ice:headerRow>
        <ice:column>
        <ice:outputText value="First Name"/>
        </ice:column>
        <ice:column>
        <ice:outputText value="Last Name"/>
        </ice:column>
        </ice:headerRow>
        </ice:columnGroup>
        </f:facet>
        .....
        </ice:dataTable>

        The first name and last name can be resized, as they are defined as a column header.
        <ice:dataTable resizable="true">
        <f:facet name="header">
        <ice:columnGroup>
        <ice:headerRow>
        <ice:column colspan="2">
        <ice:outputText value="Full Name"/>
        </ice:column>
        </ice:headerRow>
        </ice:columnGroup>
        </f:facet>

        <ice:column>
        <f:facet name="header">
        <ice:outputText value="First Name"/>
        </f:facet>
        <ice:outputText value="......"/>
        </ice:column>
        <ice:column>
        <f:facet name="header">
        <ice:outputText value="Last Name"/>
        </f:facet>
        <ice:outputText value="......"/>
        </ice:column>
        </ice:dataTable>

        Show
        Adnan Durrani added a comment - The columnGroup doesn`t support resizing itself. In order to resize the column the column headers needs to be defined by the "ice:column" not by the "columnGroup". However if the headers are defined by the both "column" and "columnGroup" then changing the column header will resize the columnGroup too. (e.g.) The following columns won't be resized, as all the headers are defined by the columnGroup <ice:dataTable resizable="true"> <f:facet name="header"> <ice:columnGroup> <ice:headerRow> <ice:column colspan="2"> <ice:outputText value="Full Name"/> </ice:column> </ice:headerRow> <ice:headerRow> <ice:column> <ice:outputText value="First Name"/> </ice:column> <ice:column> <ice:outputText value="Last Name"/> </ice:column> </ice:headerRow> </ice:columnGroup> </f:facet> ..... </ice:dataTable> The first name and last name can be resized, as they are defined as a column header. <ice:dataTable resizable="true"> <f:facet name="header"> <ice:columnGroup> <ice:headerRow> <ice:column colspan="2"> <ice:outputText value="Full Name"/> </ice:column> </ice:headerRow> </ice:columnGroup> </f:facet> <ice:column> <f:facet name="header"> <ice:outputText value="First Name"/> </f:facet> <ice:outputText value="......"/> </ice:column> <ice:column> <f:facet name="header"> <ice:outputText value="Last Name"/> </f:facet> <ice:outputText value="......"/> </ice:column> </ice:dataTable>
        Hide
        Mandeep Hayher added a comment -

        Columns are grouped fine but user cannot resize any of the columns.

        Show
        Mandeep Hayher added a comment - Columns are grouped fine but user cannot resize any of the columns.
        Ken Fyten made changes -
        Fix Version/s 1.7.1 [ 10122 ]
        Fix Version/s 1.7RC1 [ 10123 ]
        Fix Version/s 1.7 [ 10080 ]
        Mandeep Hayher made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Security Private [ 10001 ]
        Assignee Adnan Durrani [ adnan.durrani ]
        Hide
        Mandeep Hayher added a comment -

        Resizable ="true" not working with ColumnGroup.

        Show
        Mandeep Hayher added a comment - Resizable ="true" not working with ColumnGroup.
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Adnan Durrani [ adnan.durrani ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Fix Version/s 1.7RC1 [ 10123 ]
        Fix Version/s 1.7 [ 10080 ]
        Hide
        Adnan Durrani added a comment -

        revision 16007

        Show
        Adnan Durrani added a comment - revision 16007
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Fix Version/s 1.7 [ 10080 ]
        Resolution Fixed [ 1 ]
        Hide
        Adnan Durrani added a comment -

        revision 16006

        Show
        Adnan Durrani added a comment - revision 16006
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16007 Wed Mar 12 12:56:43 MDT 2008 adnan.durrani fix related to ICE-2849
        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 #16006 Wed Mar 12 12:28:59 MDT 2008 adnan.durrani Fix for ICE-2849 (The columnGroup breaks when resizable = true)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/TableRenderer.java
        Adnan Durrani made changes -
        Field Original Value New Value
        Assignee Adnan Durrani [ adnan.durrani ]
        Adnan Durrani created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Adnan Durrani
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: