Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    showGridSummary / getCSSStyle performance

    Isomorphic. We are using smartgwt power release with firefox 3.6.15

    SC_SNAPSHOT-2011-02-19/PowerEdition Deployment (built 2011-02-19)

    We are experiencing a slowness or sluggishness when using the ListGrid.

    I used a profiler and 2 areas were uncovered.

    The first was getCellStyle which consumed about 18% of the time when maneuvering through the cells.

    The second was when showGridSummary was enabled. I have a gridSummaryFunction assigned to 6 fields of the grid of which 5 are editable. The grid has a total of 14 fields. It was being called excessively. These are my observations and comments.

    1) When arrow down on the grid to go to the next row the function is being called 12 times, twice for every column. If I haven't made any changes which is it being called?

    2) If I enter a value and press enter the summaryfunction is called 36times. 6 times for every column. I only changed 1 cell should it not call the summary for the 1 column only?. This takes up alot of cpu time.

    3) On a separate grid with showGridSummary set to false if I do a .setEditValue the time required to do the write is about 50ms. After I set showGridSummary to true the write time takes about 210ms.


    Is their anything I can do to improve the performance of these features.
    Last edited by Rdamario; 11 Mar 2011, 19:13.

    #2
    We've made some changes to make the grid somewhat more intelligent about when to fire summary functions in response to user edits etc. These will show up in the next nightly build and should help with this area

    Thanks
    Isomorphic Software

    Comment

    Working...
    X