Bug Report T708618
Visible to All Users

Weeks View - A weeklong range cannot be selected in TdxRangeControl linked to the scheduler whose ViewWeek.CanShow property is set to False

created 6 years ago

Hello,

i am using your TcxScheduler and TdxRangeControl and cannot figure out, how to set range selection only to one week…on create there is selected only one week as desired, because i have Scheduler.Selected days set on start and end of a current week, however, if i click anywhere else in RangeControl, range scale changes from one week to two weeks and i can only stretch it more, but not crunch it to one week again.

I am attaching screenshot, so as you can see what my problem is.

Show previous comments (1)
MN MN
Miroslav Novotny 6 years ago

    Hello Paulo,

    i have modified your project by one simple way, so that it looks just like our view, that is, i disabled ViewWeek CanShow property. I don't know if this is mistake on your side, however i just found out how this "failure" behaves.

    If we want to preserve our actual view (ViewWeeks), we have to disable ViewWeek.Canshow property. In this manner Scheduler area is arranged in continuous columns next to each other, in one single row, as wanted. However it seems, that the minimal selected range in RangeControl is 2 weeks, but we want it to be only one week.

    Scaling by one week is possible through enabling ViewWeek.CanShow property, but it doesn't preserve Scheduler layout. In fact, it changes it so that there are multiple rows, which we do not want.

    Optimal scenario is that ViewWeek.CanShow property is disabled which makes no changes in layout and user can set the minimal scale in RangeControl to one week!.

    So far we couldn't find any combination of properties, which would enable such behaviour, so we want to ask if this functionality is even possible to achieve and this option is provided on your side?

    Thank you very much for your answers.

    I am attaching project from you with enabled property so that you see mentioned behaviour.

    MN MN
    Miroslav Novotny 6 years ago

      *correction - i meant disabled property in last row

      DevExpress Support Team 6 years ago

        Thanks, Miroslav. You are right. It seems that the Range Control cannot select less than 2 weeks in this case. It is possible to do this in Scheduler, but not in TdxRangeControl. It may take us some time to examine this scenario and find an appropriate solution.

        Answers approved by DevExpress Support

        created 6 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.

          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.