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

Increase performance of grouping

3 Answers 79 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Andy
Top achievements
Rank 1
Andy asked on 03 Dec 2008, 10:33 PM
Hi All.

I have about a 1500 items of CallItem class in List collection.

This is description of CallItem:
public class CallItem  
    {  
        private DateTime callDateTime;  
 
        public DateTime CallDateTime  
        {  
            get { return callDateTime; }  
            set { callDateTime = value; }  
        }  
        private String calledNumber;  
 
        public String CalledNumber  
        {  
            get { return calledNumber; }  
            set { calledNumber = value; }  
        }  
        private String logicCall;  
 
        public String LogicCall  
        {  
            get { return logicCall; }  
            set { logicCall = value; }  
        }  
        private Int64 callDuration;  
 
        public Int64 CallDuration  
        {  
            get { return callDuration; }  
            set { callDuration = value; }  
        }  
        private Double costWithTaxes;  
 
        public Double CostWithTaxes  
        {  
            get { return costWithTaxes; }  
            set { costWithTaxes = value; }  
        }  
        private Double costWithDiscount;  
 
        public Double CostWithDiscount  
        {  
            get { return costWithDiscount; }  
            set { costWithDiscount = value; }  
        }  
 
        private String abonentNumber;  
 
        public String AbonentNumber  
        {  
            get { return abonentNumber; }  
            set { abonentNumber = value; }  
        }  
 
        public CallItem(String abonentNumber, DateTime callDateTime, Int64 callDuration, String calledNumber, Double costWithDiscount, Double costWithTaxes, String logicCall)  
        {  
            this.abonentNumber = abonentNumber;  
            this.callDateTime = callDateTime;  
            this.callDuration = callDuration;  
            this.calledNumber = calledNumber;  
            this.costWithDiscount = costWithDiscount;  
            this.costWithTaxes = costWithTaxes;  
            this.logicCall = logicCall;  
        }  
          
    }  
 

I geting all records and bindind they to GridView like this:
List<CallItem> items = GetAllItems();  
dataGridView.ItemsSource = items;  
dataGridView.CreateFilterDescriptions();  
 

And when I (or user) drag and dropping column (for example AbonentNumber) on grouping panel I need to waiting about 35 seconds.

if I heed to waiting about 35 seconds when I need grouping 1500 records then how long I need to waiting if I must grouping about 15000 records or 150000 records?

How i can increase performance of grouping in GridView? Or may be for my task I dont need to use GridView and grouping?

3 Answers, 1 is accepted

Sort by
0
Andy
Top achievements
Rank 1
answered on 03 Dec 2008, 10:44 PM
P.S. 2: here that I noticed:
When I used RadControls Q2 2008 on the same task I have 4 seconds delay for 1500 records. (It is normally).
But when I used RadControls Q3 2008 i have 35 seconds delay.
0
Nedyalko Nikolov
Telerik team
answered on 05 Dec 2008, 01:27 PM
Hi Andy,

Thank you for the valuable feedback. I've updated your Telerik points. This is a bug in our control which will be fixed with the service pack which is scheduled for mid-December.

Kind regards,
Nedyalko Nikolov
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Andy
Top achievements
Rank 1
answered on 05 Dec 2008, 01:34 PM
Thanks.

I'll be waiting.
Tags
GridView
Asked by
Andy
Top achievements
Rank 1
Answers by
Andy
Top achievements
Rank 1
Nedyalko Nikolov
Telerik team
Share this question
or