ICEfaces
  1. ICEfaces
  2. ICE-1874

Bgcolor attribute does not apply on the dataTable when scrolling is enabled

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      dataTable + bgcolor + scrollable

      Description

      The bgcolor attribute does not apply on the dataTable when scrolling is enabled.

        Activity

        Hide
        Michael Thiem added a comment -

        the width and border attributes don't apply as well

        Show
        Michael Thiem added a comment - the width and border attributes don't apply as well
        Hide
        yip.ng added a comment -

        bgcolor is a pass-through attribute. A pass-through attribute is passed only to the root element of a JSF comonent. A scrollable table has a more complicated structure than a non-scrollable table. The table itself is not at the root, it is surrounded by outer div's. Therefore the table itself doesn't get any pass-through attributes.

        To change this rendering practice may have far-reaching implications for all the pass-through attributes of all the composite components.

        To achieve the same effects, one can use style classes for the table, rows, columns and cells.

        Show
        yip.ng added a comment - bgcolor is a pass-through attribute. A pass-through attribute is passed only to the root element of a JSF comonent. A scrollable table has a more complicated structure than a non-scrollable table. The table itself is not at the root, it is surrounded by outer div's. Therefore the table itself doesn't get any pass-through attributes. To change this rendering practice may have far-reaching implications for all the pass-through attributes of all the composite components. To achieve the same effects, one can use style classes for the table, rows, columns and cells.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: