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

        Hide
        Adnan Durrani added a comment -

        revision 16006

        Show
        Adnan Durrani added a comment - revision 16006
        Hide
        Adnan Durrani added a comment -

        revision 16007

        Show
        Adnan Durrani added a comment - revision 16007
        Hide
        Mandeep Hayher added a comment -

        Resizable ="true" not working with ColumnGroup.

        Show
        Mandeep Hayher added a comment - Resizable ="true" not working with ColumnGroup.
        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.
        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>

          People

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

            Dates

            • Created:
              Updated:
              Resolved: