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
200
Child Band horizontal scroll bar resetting
posted

Hi,

We have recently upgraded from 2006.1 to 2012.2 winforms components.

We have an application that has a grid with card view in a child band. The card view horizontal scroll bar is not linked to the parent grid horizontal scroll bar.

I have attached an image to shows the app with card view on show.

When I double click on a cell in the card view a dialogue box appears. If I close the dialogue box, the card view H scroll bar shoots to the left.

In version 2006.1 the scroll bar stayed where it was at.

As far as I can see, the only code to have changed is:

bodBand.UseRowLayout=true; was changed to bodBand.RowLayoutStyle = RowLayoutStyle.GroupLayout;

and PlanGrid.SupportThemes=false; was changed to PlanGrid.UseOsThemes = DefaultableBoolean.False;

Has there been any changes to settings in the grid?

Thanks

David

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi David,

    From 2006 to 2012 is a pretty big jump. There have been hundreds of bug fixes and changes to the grid in that period of time. If the behavior changes, then this could be a bug in the grid, or it could also be something that was a bug and is now fixed.

    I can't think of any reason why the scrollbar should be moving just from closing a dialog, though. There must be something in your code that is affecting the grid or it's data source that is triggering this. I'm afraid that I don't have any guesses as to what it might be off the top of my head. What happens when you close the dialog? What is your code doing at that point?

    If you can duplicate the behavior in a small sample project and post it here, we would be happy to take a look at it and find out why it's happening.

Children