Skip to Content
author's profile photo Former Member
Former Member

CollapseLevel on Gird with approx. 2,500 rows is very slow

I have a datatable that gets populated with a query returning 6 columns. I display the data in a grid. Everything is fine and works at an acceptable speed until I collapse the gird on the first column. It is very slow. oGrid.CollapseLevel = 1;

I have the form frozen when doing this and it does not help speed it up. any suggestions? or is this a known issue with the gird?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 09, 2008 at 02:04 PM

    Jack,

    when you show grid without collapse level its ok, because all datas you get from database are shown immeditaly. When you set collapse level, sap receive datas from sql and recalculate the data for showing in grid with collapse level.

    So, when you have no level set, its quick, because it depends mainly on sql server, when you set collapse, the datas will be recalculated on client PC and the speed depends on speed of PC.

    I think that for big ammount of returned rows is normal. Try to make the same way directly on server, youll see, that the speed will be better.

    hope it helps

    Petr

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Petr,

      This is all running on my development box. My machine is a pretty good so perhaps it is just a limitation with the gird when dealing with this amount of records( 2500). The solution may be to limit that amount of records but I really didn't want to get that complicated with this form.

      Thanks,

      Jack

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.