ICEfaces
  1. ICEfaces
  2. ICE-6641

DataTable: non-client id rendered on header div can lead to anomalous DOM updates when using multiple dataTables on the page

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-EE-Beta1
    • Fix Version/s: 2.0.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      n/a

      Description

      The TableRenderer is rendering a non-client id on the header div:

      TablerRenderer: line 438:
      columnHeaderDiv.setAttribute(HTML.ID_ATTR, "hdrDv"+ columnIndex);

      If there are multiple dataTables on the page, they will have identical element id's on the rendered header divs. If a change occurs within the header div of the first dataTable, the DOM diff may become anchored at the non-unique id of the header div without reference to the unique dataTable id. This DOM update will then be inserted into the 1st dataTable, leading to anomalous updates.

        Activity

          People

          • Assignee:
            Philip Breau
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: