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

          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.
          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.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: