Dear Telerik-Team,
creating many GridViewDataColumn (about 500) in code behind and
adding them to a RadGridView (using RadGridView.Columns.Add() ) is working in a reasonable amount of time (<1 ms for each column).
I am also adding AggregateFunctions to each of those columns (GridViewDataColumn.AggregateFunctions.Add()).
The function to create and add the columns is called in the class constructor right after InitializeComponent();
The RadGridView control itself is defined in XAML.
Now to the actual issue :
The problem arises when columns are added or recreated after that.
Then, adding columns to the gridview is really slow ( > 10 - 50 ms for each column).
I remove all columns using RadGridView.Columns.Clear() prior to adding the new ones.
This issue only comes up when AggregateFunctions were added to the columns before.
And it is not just getting slower - the time it takes to add a column actually increases with each column then.
Do have any idea what the reason for this behaviour might be?
Thanks and Kind Regards!
creating many GridViewDataColumn (about 500) in code behind and
adding them to a RadGridView (using RadGridView.Columns.Add() ) is working in a reasonable amount of time (<1 ms for each column).
I am also adding AggregateFunctions to each of those columns (GridViewDataColumn.AggregateFunctions.Add()).
The function to create and add the columns is called in the class constructor right after InitializeComponent();
The RadGridView control itself is defined in XAML.
Now to the actual issue :
The problem arises when columns are added or recreated after that.
Then, adding columns to the gridview is really slow ( > 10 - 50 ms for each column).
I remove all columns using RadGridView.Columns.Clear() prior to adding the new ones.
This issue only comes up when AggregateFunctions were added to the columns before.
And it is not just getting slower - the time it takes to add a column actually increases with each column then.
Do have any idea what the reason for this behaviour might be?
Thanks and Kind Regards!