ICEfaces
  1. ICEfaces
  2. ICE-7438

JavaScript error when loading a scrollable ace:dataTable

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.1-Beta2
    • Fix Version/s: 3.0.RC2, 3.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      ICEfaces 2.1.0 Beta2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.)

      Description

      An ace:dataTable uses header column grouping, the table has a total of 6 columns. The top most header group displays three columns with col spans of 3, 2 and 1. When the table is set to be scrollable, the columns are rendered out of alignment.

      In debugging the datatable.js in Chrome I see an error thrown:

      datatable.js.jsf:343 Uncaught TypeError: Cannot call method 'children' of undefined

      This error causes the column width calculations to exit and therefore the columns are rendered misaligned. The cause of the error seems to be usage of a header group column using a colspan=1
      1. resizeScrolling-error.JPG
        249 kB

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Salesforce Case [5007000000JMQUL]
        Arran Mccullough made changes -
        Attachment Case10648Example.zip [ 13737 ]
        Attachment Case10648Example.war [ 13738 ]
        Attachment resizeScrolling-error.JPG [ 13739 ]
        Arran Mccullough made changes -
        Summary JavaScript error when loading a scrollabe ace:dataTable JavaScript error when loading a scrollable ace:dataTable
        Arran Mccullough made changes -
        Assignee Nils Lundquist [ nils.lundquist ]
        Nils Lundquist made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Affects [Documentation (User Guide, Ref. Guide, etc.)]
        Nils Lundquist made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Fix Version/s 2.1 [ 10241 ]
        Ken Fyten made changes -
        Security Private [ 10001 ]
        Ken Fyten made changes -
        Fix Version/s 3.0.RC2 [ 10313 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Nils Lundquist
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: