Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
165
Bug?: Grid records virtual behaviour XP NOT same as Grid records behaviour VISTA ?
posted

Hello,

I have a strange issue/difference in my grid-performance when my application is run on XP or run on Vista Business.

The purpose of my grid is showing records with a number label, text-label and a special column where I show a WPF-control which fetch DB first to be able to show its content. Alle records are default grouped by the number label --> so no extra info is needed as long the groups are not expanded.

In windows XP, this works amazing fast. Via the output-window, I see that on WinXP the extra DB-info is only fetched when the shape itself is rendered (visible). So super optimal for the large list in my case

But on Vista, there is totally not the case. When first loading, ALL my extra DB-info is fetched for each record (seen via output-debug). But the records are still grouped, so no extra is normally needed. --> so why is this behaviour different (and much slower in my case) on Vista then on XP ?

Has it to do something with virtualizing of the grid (my grid is just default settings I think, with the templated column) ?

 

Do you have any idea's why this is different in this 2 cases ?

 

Parents
No Data
Reply
  • 165
    Offline posted

    Hello,

    I have downloaded the last service-release, but the "problem" still strays the same.

    Is there some one who has the same problems or a solution.

     

    To clarify my previous post. I have a xamdatagrid with columns and one specific column-template where I show a wpf-control. Everything works through xaml databinding and when my custom wpf-control is shown in my window --> I see that extra details are fetched from the DB which is the correct behaviour.

    Initially my grid rows are grouped so fetching the extra DB-details for showing my custom wpf-control for each record is not needed. only when collapsing a group, the control is shown and DB-details are fetched.

    On windows XP this works perfectly, only the records which are shown on the screen, only for those records the DB-details are fetched.

    But when i run on vista, this is NOT OK. Fo each record in my grid --W the DB)-details are fetched which is a massive slow-down. This happens when my grid is loaded --> why are those DB-details fetched, even when my custom wpfcontrol (in the row xaml template) is not shown...

    It seems tha the XAML-template is rendered (executed) in Vista, but not in XP --> why is there a difference in these 2 OS'es...

    Does anyone have a idea.

    PS: I think I have tested it once on a Windows7 OS, and there I had the same behaviour as XP. So the wanted / correct behaviour.

Children
No Data