All Products
Demos
Services
Blogs
Docs & Support
Pricing
Search
Shopping cart
Login
Contact Us
Get A Free Trial
close mobile menu
Telerik Forums
/
UI for WPF Forum
/
GridView
/
Iterating the Grid rows and columns is very very slow
Cancel
Telerik UI for WPF
Resources
Buy
Try
Feed for this thread
2 posts, 0 answers
Munish
14 posts
Member since:
Apr 2013
Posted 03 Mar 2014
Link to this post
Hi
I am iterating through the rows and columns of the grid view like this :
foreach (var row in radGridView.Items)
{
foreach (var column in HeaderInfo)
{
string sUniquename = uniqueNames[iColumn];
var boundColumn = radGridView.Columns[sUniquename] as GridViewBoundColumnBase;
if (boundColumn != null)
{ string data = string.Format("{0}", boundColumn.GetValueForItem(row));}
iColumn += 1;}}
The thing is that its too slow ...for a grid with say 80k rows it is taking 5 minuted to complete this loop...I guess internally it is building up the rows internally as our grid has virtualization enabled.
Please suggest if something can be done on this.
Yoan
Admin
1215 posts
Posted 03 Mar 2014
Link to this post
Hello Munish,
I have just replied to the other thread on the same topic.
Regards,
Yoan
Telerik
Back to Top
Close