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
170
Scrolling 2 grids each with their own panel in a larger container
posted

Hi, I'm trying for quite some time to solve this problem.

I'm using C# in VS 2005 + NetAdvantage 2008.

Just now I have an Ultra tab container with 2 panels. In these panels I have a grid both of which are of the same width. The upper most panel is not very long vertically. I want to scroll the lot i.e. the scroll bars of the ultra tab are to be activated so I can scroll NOT those of the grids which should be off.

Got an idea to set the size of the inner panels but then I must know the full size of the gride. How can I find this?

Thanks in advance,

Dec

 

 

  • 2501
    posted

    Hello Dec,

    Thank you for posting your question on the Infragistics WinGrid Forums.  In order to size the WinGrid to its contents to eliminate the scrollbar, you  would have to manually add up the row selectors, column widths, any overlapping columns, etc. to find this value.

    There currently is no property in the WinGrid that can be used to retrieve the necessary size to fit all the columns / rows.

    Please let me know if you have any questions.

    Sincerely,
    Mike D.
    Developer Support Engineer
    Infragistics, Inc.