Bug Report T200505
Visible to All Users

Set values of the scheduler's ViewTimeGrid.Scales property are not persisted with the StoreTo~/RestoreFrom~ methods

created 10 years ago

Steps to Reproduce:
Run attached application, click on gantt button. Change gantt's TimeStep value with spinedit to 60. Click on store. Change spinedit value to 15. Click on restore.
Actual Results:
Gantt is displayed with TimeStep set to 15 after restore.

Expected Results:
Gantt should be displayed with TimeStep set to 60 after restore.

---
In the sample application is also possible to test the same steps with Day view, which works as expected.

Comments (1)
DevExpress Support Team 10 years ago

    Eduard,

    Thank you for your sample project. I have reproduced the described behavior and forwarded this ticket to our developers for research.

    Answers approved by DevExpress Support

    created 10 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Comments (1)
      DevExpress Support Team 10 years ago

        Eduard,

        We have changed the StoreTo~/RestoreFrom~ mechanism so that now scales and the ViewGantt.Active property are also involved. However, I should mention that the previous behavior was also correct, maybe even more correct. The point is that in our StoreTo~ routines, we store only those properties which can be customized by an end-user by default. If you give your user the capability to customize certain additional properties, you are responsible for saving them. We decided to change the current behavior only because for now, we do not have Scheduler events that can help you store/restore additional custom properties (we have such events for many other controls; e.g., TcxGrid). I hope, we will implement these events with future versions of our controls in the context of the Implement OnGetStoredProperties, OnGetStoredPropertyValue, and OnSetStoredPropertyValue events to store custom properties ticket.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.