ICEfaces
  1. ICEfaces
  2. ICE-2941

scrollable dataTable header style class decloration

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.7RC1
    • Fix Version/s: 1.7
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      icefaces

      Description

      The current implementation of scrollable dataTable does not allow the stying of the parent header table div. The elements that the component renders looks like the following:

      <div>
         <div> // propose we add a style here.
             <table/> // header
          </div>
          <div>
              <table/> //body
          </div>
      </div>

      I'm hoping that we can add a style to the div that wraps the header table. This will allow for more flexible styling options when using scrollHeight attribute on dataTable.

      Here are proposed style sheet entries for our themes.
      rime.css
      .iceDatTblScrlSpr{
          background: url( './css-images/table_col_header.gif' ) repeat-x bottom left;
          border-top: 1px solid #d9d9d9;
          border-right: 1px solid #d9d9d9;
      }
      royal.css
      .iceDatTblScrlSpr{
          background: url( './css-images/table_col_header.gif' ) repeat-x top left;
          border-top: 1px solid #026AFF;
          border-right: 1px solid #026AFF;
      }
      xp.css
      .iceDatTblScrlSpr{
          background: url( './css-images/table_col_header.gif' ) repeat-x bottom left;
          border-top: 1px solid #CCCCCC;
          border-right: 1px solid #CCCCCC;
      }

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16239 Thu Apr 03 10:22:25 MDT 2008 patrick.corless ICE-2941 update iceDatTblScrlSpr styles to better match default headers for the respective themes.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp.css
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/royale/royale.css
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/rime/rime.css
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16236 Thu Apr 03 07:54:13 MDT 2008 adnan.durrani comments added related to ICE-2941
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component-metadata/src/main/resources/conf/ice_properties/ice-dataTable-props.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #16235 Thu Apr 03 07:43:50 MDT 2008 adnan.durrani Fix for ICE-2941 (scrollable dataTable header style class declaration)
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp-portlet.css
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/CSS_DEFAULT.java
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/xp/xp.css
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/royale/royale.css
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/rime/rime.css
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/resources/css/rime/rime-portlet.css
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/TableRenderer.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: