Announcement

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

    ListGrid performance - getCellCSSText

    Hello

    I'm using ListGrid in SmartGWT 2.5.
    I override getCellCSSText() to have custom CSS for the cells in the grid.
    After editing a row in the ListGrid, the refresh of the edited row is slow (both in IE8 and FF5). It takes around 4 seconds for a grid with 10 columns, 40 rows.

    Until now I found out the following:
    After closing the row editor the method getCellCSSText is not only called for the edited row, but for all rows in the grid.

    I could reproduce this behaviour by taking the code from the showcase
    (http://www.smartclient.com/smartgwt/showcase/#grid_hiliting_pre_defined),
    and setting countryGrid.setCanEdit(true);

    Can I prevent the CSS being updated for all rows? I would like to have getCellCSSText() only being called for the edited row.

    Regards, Holger
Working...
X