Quantcast
Channel: JavaScriptMVC Forum
Viewing all articles
Browse latest Browse all 3491

Performance when rendering large table with can.Components

$
0
0
I am investigating if we can use can.Components in following situation.
We have a large dataset (50 columns / 200 rows) in which each table cell should have live binding.


What are your thoughts on this?

Biggest bottle neck seems to be at line 32: 
  1. $myTable.append(can.view.stache(htmlRows)({}));
This adds a row to the table and also triggers the can.Components to do their magic.

Still have to refine the fiddle with an actual fixture and templates to do the rendering, but this already doesn't look very promising performance wise. 



-- update:
new Fiddle with can.Model & stache template

With lazy rendering:






Viewing all articles
Browse latest Browse all 3491

Trending Articles