lundi 16 février 2015

Easy configurable javascript libraries to render sequence of month for 100 rows per page


I need to show up to 100 components similar to cal-heatmap calendar with year-month view. It seems that creation of 100 cal-heatmap per paginated table is not good idea due to performance.


The requirement is to show each resource availability within selected interval (eg. Feb15 - May 16) in table view.


What are the best configurable javascript libraries to render sequence of month for 100 rows per page.



{% for row in queryset %}
var cal{{ forloop.counter }} = new.CalHeatMap();
cal{{ forloop.counter }}.init(
{id:"cal{{ forloop.counter }}", itemSelector: "#previousSelector-a", previousSelector: "#previousSelector-a-previous", domain: 'day', subDomain:'hour', colLimit: 24, range: 4, displayLegend: false, domainLabelFormat: ""}
);
{% endfor %}


....
{% for row in queryset %}
<div id="cal{{ forloop.counter }}"></div>
{% endfor %}




Aucun commentaire:

Enregistrer un commentaire