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

Empty GridViewDataColumn cause major lag while scrolling/filtering?

4 Answers 96 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Joachim Karlsson
Top achievements
Rank 1
Joachim Karlsson asked on 02 Mar 2012, 09:03 AM
Hey,

Was labbing some this morning and i come over this.

   <telerik:GridViewDataColumn Header="LogistikID" DataMemberBinding="{Binding nOrderID}" />
   <telerik:GridViewDataColumn Header="Namn" DataMemberBinding="{Binding strDisplayName}"/>
   <telerik:GridViewDataColumn Header="CareOf" DataMemberBinding="{Binding strCareOf}"/>
   <telerik:GridViewDataColumn Header="Gata" DataMemberBinding="{Binding strAddress}"/>
   <telerik:GridViewDataColumn Header="" />


If i leave one column not binded the Gridview lags like hell.

Im pretty sure i have to bind them all because i use GridViewDataColumn, but is it realy gonna lag so bad?

If i leave it empty, Shouldn't it just be ignored?

If i bind the last GridViewDataColumn it's lag free while scrolling/filtering.

Bug or Feature? 

/Joachim

4 Answers, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 02 Mar 2012, 09:47 AM
Hello,

What is business scenario of having an unbound GridViewDataColumn? Can you provide an example?

Regards,
Ross
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Joachim Karlsson
Top achievements
Rank 1
answered on 02 Mar 2012, 09:52 AM
Theres no reason to have it,
I added an empty column for future use, I just left it empty while testing something
and i couldn't figure out while it was lagging so much while filtering/scrolling, So im just saying.

But why is it lagging with an empty column and not with a binded one?

/Joachim
0
Rossen Hristov
Telerik team
answered on 02 Mar 2012, 09:56 AM
Hi,

We will investigate this lagging.

Meanwhile, you can workaround the lag by not having an unbound column.

Thank you for your understanding.

Kind regards,
Ross
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Joachim Karlsson
Top achievements
Rank 1
answered on 02 Mar 2012, 10:02 AM
Cool!

Already solved it, I just found the lag funny so i had to ask :)

Thanks for the response :)

/Joachim
Tags
GridView
Asked by
Joachim Karlsson
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Joachim Karlsson
Top achievements
Rank 1
Share this question
or