This is a migrated thread and some comments may be shown as answers.

Slow ListView with SparkLines?

2 Answers 11 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Per
Top achievements
Rank 1
Per asked on 14 Apr 2014, 12:47 PM
Hi!
I have a listview containing a template with a sparkline in.
I have around 15 items in the listview and it takes about 8 seconds to load the page and create all the sparklines.
Today, nothing is shown before all sparklines are created (i'm using the data-init event).
It feels like the application has stoped responding so I want to change this behaviour.

I want the page to load faster and after it has finished loading, it start to create the sparkline asynchronisly (like ajax updates)
Is this possible?

Regards,
Per

2 Answers, 1 is accepted

Sort by
0
Alexander Valchev
Telerik team
answered on 16 Apr 2014, 08:28 AM
Hi Per,

We will need more information in order to determine where the problem comes from. What kind of data are you using for the ListView - remote JSON, local JavaScript array or the control is initialized from HTML mark-up? Also does the SparkLine uses local or remote data?

Could you please share the relevant code (html, JavaScript) so I can review your current implementation and advice you accordingly?

Regards,
Alexander Valchev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Per
Top achievements
Rank 1
answered on 21 Apr 2014, 05:29 PM
Hi
I'm gonna open a support ticket and add part of my code.

Regards
Per
Tags
Charts
Asked by
Per
Top achievements
Rank 1
Answers by
Alexander Valchev
Telerik team
Per
Top achievements
Rank 1
Share this question
or