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
25
WinGrid Summaries disappeared!
posted

The strangest thing has happened, and I don't really know how to fix it.

 

I have an application that shows 14 WinGrids. Each one of these displays a different piece of data to the user and all are bound to .NET Binding Sources for their data.

All of the grids show their data, and up until recently, all of them showed the SUM summary row in their respective columns.

Up until recently, this all worked just fine. At some point, however, in some version that I have developed, all of the SUM summaries disappeared. Thinking this was just the Windows Forms Designer messing with stuff it shouldn't (which seems to happen), I re-added all of the summaries to all of the grids' bands. These all show up in design-view, but when I actually run the application, they do not show up. I have created a test application to make sure that it was not something on my machine, and that seems to work fine. I have also removed all controls from the form and added a single grid and bound it to one of my binding sources, and it also does not show the summary row.

I am using NetAdvantage 8.1 Win CLR2x in my solution.

Help!

Parents
  • 469350
    Offline posted

    If the summaries show up at design-time and not at run-time, then something in the code must be removing them.

    Are you losing anything else? For example, if you change the width of a column in the grid at design-time, does it maintain that same width when you run the application?

    Perhaps your project is loading a saved layout into the grid at run-time?

     

Reply Children