seanjensengrey / jsgantt

Automatically exported from code.google.com/p/jsgantt
0 stars 0 forks source link

Reduce resource usage by avoid rending all date DIVs only once. #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the date DIVs are rendered for every day and every task.
If you have 20 tasks and 40days periods, this means 800 DIVs to be 
calculated and rendered.

See attachment for my suggestion. 
Use such big DIVs height:height_of_line * number_of_tasks may improve 
performance.

Original issue reported on code.google.com by zhang_yu...@msn.com on 21 May 2009 at 4:38

Attachments: