Infragistics Grid Loading


Author
Message
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
The trial should make no difference as you have the full functionality of the software.  Just the license is time limited and you do not get the source code.  So that should not be a factor.
Aaron Young
Aaron Young
StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Is the difference due of the fact that I have a trial version of Infragistics ?

Hi David,

I agree with Trent - the trial version is the same codebase and you can simply activate your demo version without having to reinstall it.

I would recommend that you turn off any advanced grid features to see if that helps. If it does it is then a case of tracing the culprit. Infragistics have a number of built-in presets that you can access from the Ultragrid designer and you can drastically change the grid's behaviour with a couple of mouse clicks.

Some features will have an impact on performance with large recordsets. For example, if you have row summaries turned on I would try turning them off first. Also, are you using the grid to set the sort order or are you taking the natural order supplied by the BO? Have you added any formating code in your source code that effects the grid?

Unfortunately, there are so many possibilities it is difficult to comment without knowing more. Could you send or post a screenshot of your grid with some data loaded?

Regards,

Aaron

David Daragon
David Daragon
StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)
Group: Forum Members
Posts: 54, Visits: 249
Hi,

I think I find the issue of my problem.

It would be indeed an obviousness for you and that's why you didn't talk about it.

In fact, I didn't set the LoadStyle property to LoadOnDemand.

With this line of code, my grid loads in 610 ms. It's great ! Smile

this.grdClient.DisplayLayout.LoadStyle = Infragistics.Win.UltraWinGrid.LoadStyle.LoadOnDemand;

David

Aaron Young
Aaron Young
StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)StrataFrame User (435 reputation)
Group: StrataFrame Users
Posts: 277, Visits: 1.1K
Hi David,

Personally I don't use LoadOnDemand as I have grid sorts/filters already setup and I frequently use row summaries which means all rows have to be loaded. When that is the case the grid will override LoadOnDemand and will enforce the pre-loading of all rows - so you will need to be careful as your grid will switch back to preloading all rows if you enable any grid feature that requires all rows to be loaded.

If you notice a drop in grid performance in the future then it is likely a feature has been enabled that requires all rows and the grid will ignore your LoadOnDemand setting.

Aaron

David Daragon
David Daragon
StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)
Group: Forum Members
Posts: 54, Visits: 249
Ok Aaron, thanks for these info.

I think many of my grids will have to need to be sorted or have summary.

I was happy of my discovery this morning but I will go on my searchs.

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Glad you got it going. Smile  Thanks for your input, Aaron!
David Daragon
David Daragon
StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)
Group: Forum Members
Posts: 54, Visits: 249
Hi,

I send you a screen copy of my grid. For me, it's a normal grid. I set no extra options, only the basic.

David

David Daragon
David Daragon
StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)
Group: Forum Members
Posts: 54, Visits: 249
I posted a message on a Infragistics' forum.

I had a response and they said that to me :

"Additionally, Infragistics has not tested the use of NetAdvantage for .NET with the StrataFrame framework.  We are unfamiliar with what it is or what it is supposed to do.  We may not be able to provide support for the use of NetAdvantage for .NET controls with this framework, unless the same problem can be duplicated without this third-party tool."

So what can I do now ?

David

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
David,

They know who we are and that is just a post from someone who doesn't feel like dealing with your problem.  We actually have a relationship with them...so that is some low-level person posting on the thread....but let's back up.  I don't understand why you are having any issues here as the Infragistics grid is a highly used grid...including by us within our medical software.  Based on your last post and your screen shot...I did not know that you still had a problem...so what is your problem?

David Daragon
David Daragon
StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)StrataFrame Novice (88 reputation)
Group: Forum Members
Posts: 54, Visits: 249
Hi Trent,

My problem is that when I load 20 000 records on a windows datagrid, it takes 600 milliseconds
And when I do the same with the infragistics grid, the loading are slow, it takes about between 6 and 7 seconds.
I wonder why there is a such difference.

Regards,

David

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search