Opened 12 years ago

Closed 12 years ago

#4926 closed defect (wontfix)

Grid performance with hundreds of rows displayed

Reported by: guest Owned by: sorvell
Priority: high Milestone:
Component: DojoX Grid Version: 1.0
Keywords: grid performance autoheight Cc:
Blocked By: Blocking:


I'm worried about the grid performance when hundreds of rows are displayed. As I understand, the grid is replacing FilteringTable? which AFAIK had good performance with a large number of rows.

I found performance problems in rendering and sorting:

1) modify "test_dojo_data.html" so it uses autoheight (it will grow to display all table rows):

-<div jsId="grid" dojoType="dojox.Grid" elasticView="2"></div> +<div jsId="grid" dojoType="dojox.Grid" elasticView="2" autoheight='true'></div>

2) copy and paste the contents of support/movies.csv several times, so it ends being a few hundred rows length

Now browse dojox/tests/test_dojo_data.html

  • Initial rendering takes several seconds
  • Click on any column title to sort it. Again, it takes several seconds.

I don't know if this problems have been discussed yet, but I think it's important since 1.0 is close and IMHO this is not ready.


Change History (1)

comment:1 Changed 12 years ago by sjmiles

Resolution: wontfix
Status: newclosed

dojox.Grid is designed to use virtual scrolling to achieve performance.

By setting "autoHeight" true and using browser scrolling you have defeated this optimization. "autoHeight" should only be used when the number of rows is small.

Note: See TracTickets for help on using tickets.