ICEfaces
  1. ICEfaces
  2. ICE-9783

ace:dataTable header columns misalign temporarily

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.3
    • Fix Version/s: None
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Glassfish 3.1.2.2, IE 9

      Description

      Might depends on ICE-9674
      Whenever the new cell content exceeds the column width, header columns misalign temporarily.
      Simple Example:

      @SessionScoped
      @ManagedBean
      public class Bean {
          private String colValue = "BBBBBBB";
          public List<String> getRows() {
              return Arrays.asList(colValue, colValue);
          }
          public String doClick() {
              colValue += colValue;
              return null;
          }
      }

      <?xml version='1.0' encoding='UTF-8' ?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml"
            xmlns:h="http://java.sun.com/jsf/html"
            xmlns:ace="http://www.icefaces.org/icefaces/components"
            xmlns:ice="http://www.icesoft.com/icefaces/component">
          <h:head>
              <ice:outputStyle href="./xmlhttp/css/rime/rime.css" />
          </h:head>
          <h:body>
              <h:form>
                  <ace:dataTable
                      value="#{bean.rows}"
                      var="row"
                      rows="20"
                      resizableColumns="true"
                      scrollable="true"
                      scrollHeight="400"
                      paginator="true"
                      paginatorPosition="bottom">
                      <ace:column headerText="Col1"><h:outputText value="#{row}" /></ace:column>
                      <ace:column headerText="Col2"><h:outputText value="#{row}" /></ace:column>
                  </ace:dataTable>
                  <h:commandButton label="Increase" value="#{bean.doClick()}"/>
              </h:form>
          </h:body>
      </html>

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            F Lupke
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: