ICEfaces
  1. ICEfaces
  2. ICE-7461

styleClass attribute in ace:column applied only to first row

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 2.1-Beta2
    • Fix Version/s: 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Tomcat 7.0.12
    • Assignee Priority:
      P1

      Description

      When applying the styleClass attribute to ace:column like this:

      <ace:column styleClass="columnAlignLeft">

      in css:

      .columnAlignLeft{
          text-align: left;
      }

      We see the text aligned to the left in the first row, but not any of the subsequent rows. See the attached screenshot from the poc which shows the problem in the id column (text-align: left) and the name column (text-align: right)

        Issue Links

          Activity

          Brad Kroeger created issue -
          Brad Kroeger made changes -
          Field Original Value New Value
          Attachment aceColumnStyleClass.PNG [ 13759 ]
          Brad Kroeger made changes -
          Assignee Ken Fyten [ ken.fyten ]
          Ken Fyten made changes -
          Salesforce Case []
          Assignee Priority P1
          Assignee Ken Fyten [ ken.fyten ] Nils Lundquist [ nils.lundquist ]
          Arran Mccullough made changes -
          Link This issue is duplicated by ICE-7459 [ ICE-7459 ]
          Hide
          Nils Lundquist added a comment -

          Issue was with CSS rule priority rather than the rendering of the styleClass.

          Show
          Nils Lundquist added a comment - Issue was with CSS rule priority rather than the rendering of the styleClass.
          Nils Lundquist made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Invalid [ 6 ]
          Hide
          Nils Lundquist added a comment -

          .columnAlignLeft

          { text-align: left !important; }

          text-align being set by columnAlignLeft was not the highest priority rule for the table cells; this differed for the first row of table cells for an entirely different reason related to scrollable resizing.

          this issue was reproduced and fixed by the code above in a test case by Arran.

          Show
          Nils Lundquist added a comment - .columnAlignLeft { text-align: left !important; } text-align being set by columnAlignLeft was not the highest priority rule for the table cells; this differed for the first row of table cells for an entirely different reason related to scrollable resizing. this issue was reproduced and fixed by the code above in a test case by Arran.
          Ken Fyten made changes -
          Salesforce Case []
          Security Private [ 10001 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Nils Lundquist
              Reporter:
              Brad Kroeger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: