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

        There are no subversion log entries for this issue yet.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: