ICEfaces
  1. ICEfaces
  2. ICE-9532

ace:dataTable - Improve dynamic stylesheet performance by using cssText instead of insertRule

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 4.0.BETA, 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      *
    • Assignee Priority:
      P2

      Description

      Currently using the styleSheet API insertRule method to add our rules as we calculate them likely is triggering multiple CSS recalculations. Possibly a significant amount of performance can be gained by appending the calculated rules to the cssText attribute in batches as infrequently as possible.

        Issue Links

          Activity

          Repository Revision Date User Message
          ICEsoft Public SVN Repository #38635 Fri Oct 18 12:39:10 MDT 2013 art.zambrano ICE-9532 fixed some javascript errors
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/util/util.js
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js
          Repository Revision Date User Message
          ICEsoft Public SVN Repository #38600 Tue Oct 15 11:41:56 MDT 2013 art.zambrano ICE-9532 improved table rendering performance in the client by removing use of styleSheet.insertRule for inserting two rules per column (causing recalculations) and replacing that approach with simply inserting/replacing a text node once in the <style> element, containing all the rules
          Files Changed
          Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/datatable/datatable.js

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Nils Lundquist
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: