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

Adding multiple items to RadGridView or RadTreeListView

1 Answer 71 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vince
Top achievements
Rank 1
Vince asked on 29 Nov 2011, 01:34 AM

For example, I have an ObservableCollection with 10000 items, and I want to add 1000 items to this collection. If I were to add the 1000 items one by one, it would be painfully slow because of the 1000 CollectionChanged events fired. The second option is to use the RadObservableCollection's SuspendNotifications and Reset methods. This option is more tolerable but it's still not desirable as adding 1000 items causes the control to reload the whole collection of 11000 items. Is there a better way to add 1000 items with a single CollectionChanged event being raised that is not a Reset action?


Thanks.

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 29 Nov 2011, 07:49 AM
Hello,

 Currently there is no other way to achieve this. 

Kind regards,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
Vince
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or