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
75
Strange behaviour for UltraGrid's Bands
posted

Hi all,

Has someone run into this strange ultragrid's bands behaviour:  I use same application version connecting to same Database on 2 different computers.  The ultragrid's bands are properly displayed on one, but not on the other computer (see the attached screen shots) and I cannot figure out why.  Please advise.

Grid.zip
Parents
  • 390
    Offline posted

    The problem I encountered was not as you described.  I did resolve the problem.  Briefly what I found was happening was related to a change in a database table. Adding or deleting any date elements in the data table then affects data sets which are then coupled to data grids.  The data grids would then lose any formatting / arrangements they had and revert to showing all columns in the data set in the data grid.  This behavior was not necessarily seen until the application was seen in the production version.  What I have done to protect the grid layouts from being lost is that I save all data grid layouts using the Layout wizard.  Which then allows me at design time to re-load the previous grid layout, add or remove any columns necessary, then re-save the layout.

    In your case what you might try is saving the layouts at design time then loading them at run time to insure you are always getting the correct layout.

    Good luck.

Reply Children