ICEfaces
  1. ICEfaces
  2. ICE-3381

Add a resizableColumnWidths attribute to dataTable for mimacom.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      All

      Description

      mimacom needs to access the resizable column widths of a dataTable.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17280 Fri Aug 01 17:30:20 MDT 2008 yip.ng ICE-3381
        Added resizableColumnWidths for dataTable.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-dataTable-props.xml
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/HtmlDataTable.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #17281 Fri Aug 01 17:34:41 MDT 2008 yip.ng ICE-3381
        Added resizableColumnWidths for dataTable.
        Files Changed
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component/src/com/icesoft/faces/component/ext/HtmlDataTable.java
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-dataTable-props.xml
        Commit graph MODIFY /icefaces/branches/icefaces-1.7/icefaces/core/src/com/icesoft/faces/renderkit/dom_html_basic/TableRenderer.java
        yip.ng created issue -
        yip.ng made changes -
        Field Original Value New Value
        Assignee Yip Ng [ yip.ng ]
        yip.ng made changes -
        Fix Version/s 1.7.2 [ 10130 ]
        Assignee Priority P1
        Hide
        yip.ng added a comment -

        Markup is like this:

        <ice:dataTable id="iceDataTbl" clientOnly="false"
        var="employee" resizableColumnWidths="#

        {resizeableColumnBean.columnWidths}"
        value="#{resizeableColumnBean.employees}"
        resizable="true" >

        where #{resizeableColumnBean.columnWidths}

        is like this:

        private String columnWidths = "88px,108px,208px";

        public void setColumnWidths(String columnWidths)

        { this.columnWidths = columnWidths; }

        public String getColumnWidths()

        { return this.columnWidths; }

        columnWidths is dynamically updated as sizes of columns change on the client side.

        Show
        yip.ng added a comment - Markup is like this: <ice:dataTable id="iceDataTbl" clientOnly="false" var="employee" resizableColumnWidths="# {resizeableColumnBean.columnWidths}" value="#{resizeableColumnBean.employees}" resizable="true" > where #{resizeableColumnBean.columnWidths} is like this: private String columnWidths = "88px,108px,208px"; public void setColumnWidths(String columnWidths) { this.columnWidths = columnWidths; } public String getColumnWidths() { return this.columnWidths; } columnWidths is dynamically updated as sizes of columns change on the client side.
        Hide
        Patrick Guerin added a comment -

        Will we be able to use this attribute on the unresizable columns to set up their size dynamically in my bean?

        Show
        Patrick Guerin added a comment - Will we be able to use this attribute on the unresizable columns to set up their size dynamically in my bean?
        Hide
        yip.ng added a comment -

        No. This only works for a resizable table (resizable="true") that sends dynamic column widths from the client back to the server (clientOnly="false").

        Show
        yip.ng added a comment - No. This only works for a resizable table (resizable="true") that sends dynamic column widths from the client back to the server (clientOnly="false").
        yip.ng made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 1.7.2RC1 [ 10140 ]
        Fix Version/s 1.7.2 [ 10130 ]
        Ken Fyten made changes -
        Fix Version/s 1.7.2 [ 10130 ]
        Fix Version/s 1.7.2RC1 [ 10140 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P1
        Assignee Yip Ng [ yip.ng ]
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21834 Fri Jul 02 18:15:55 MDT 2010 adnan.durrani Fix for ICE-5775(Regression: ICE-3381 resizableColumnWidths attribute for dataTable not working correctly)
        Files Changed
        Commit graph MODIFY /icefaces/scratchpads/glimmer/compat/core/src/main/javascript/extras/extras.js

          People

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

            Dates

            • Created:
              Updated:
              Resolved: