User Profile & Activity

Frank P Member
Page
of 8

I attempted to use classic paging, but the first two pages each take over 10 minutes to load. Unacceptable.

The sample works fine until I introduce Paging. I want to use it for a self-reference grid with about 3,000 parent rows. Each parent has between 0 and 100 children (and sub-children).

In LayoutSettings, after GridLineColor="236, 233, 216", enter the following:

PagingMode="VirtualLoad"
VirtualPageSize="4"
VirtualLoadMode="LargeData"

The attached images show the results of these changes.

The first image (SelfReference_NoCodeChange) shows before any code is changed.

The second image (SelfReference_CodeChange1) is when VirtualPageSize="4".

The third image (SelfReference_CodeChange2) is when VirtualPageSize="2".

Am I missing something, or is there a bug here?

I get the same issues (bad counts, not all data loading) when attempting to use page size 10 on 21 parent records with 0 to 34 child records.

 

 

 

Posted: February 22, 2012 4:00 PM

Arun,

Have you implemented your final solution for this problem?

I am attempting a similar build, but have been unsuccessful with my solution.

Any tips you could offer would be greatly appreciated.

Posted: February 22, 2012 9:43 AM

And in the image I posted on November 7, 2011, it clearly shows your obfuscated code performing a calculation on the scrollbarheight. The last section of that calculation adds 2 to the height. Clearly, there is a math problem in the code where the height is being calculated at less than 19px, and the code does not take that into account.

I understand about wanting to replicate the problem, but I do not have the time nor inclination to debug your code. A simple check of "if scrollbarheight < 19 then scrollbarheight = 19" would fix the problem.

 

 

Posted: February 21, 2012 5:39 PM

Juliet,

I realize this post is over 2 years old, but I am attempting this same process - I have custom datasets built out of oracle that are my sources. Did you ever figure this out? Did Intersoft ever offer a solution for binding to a custom object?

 

Thanks.

Posted: February 21, 2012 5:31 PM

Did this bug ever get resolved?

Posted: February 21, 2012 3:22 PM

Hello, Eric. I hope this finds you well - and still checking these boards.

I am attempting to use an Oracle connection to load self-referencing data and cannot seem to get it just right. Where exactly did you find an examplue using - InitializeSelfReferenceDataSource - I am unable to locate a working example in the forums.

Thank you.

Posted: February 21, 2012 10:22 AM

Where can I find the "PaneSettings" properties documented?

Posted: February 21, 2012 10:02 AM

You can't find the source code that sets the height? Is it possible for users to set the height? The source code should have the text "ScrollBarHeight", "offsetHeight", "clientHeight", and "+2".

"Perhaps, there is some conditions that force our script to resize the scollbar." - When would you set the scrollbar less than 19px (the default)?

The height should never end up being 2px - the scroller is near impossible to grab cleanly.

Posted: February 17, 2012 2:01 PM

Have you identified the source code that makes this occur?

Will there be a fix coming?

All times are GMT -5. The time now is 10:46 PM.
Previous Next