We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Localization Issue

Hello, 

I'm trying to localize the Gantt control and I found an issue I hope you can help me with,
I want to make the week start on Monday instead of Sunday, but changing the value of the "firstDay" field seems to have no effect.

Thank you.

1 Reply

SR Suriyaprasanth Ravikumar Syncfusion Team September 20, 2017 10:53 AM UTC

Hi Cosimo, 
 
In Gantt control we can specify the start day of the week in week timescale mode by setting the day count value to the “ScheduleHeaderSettings.WeekStartDay” property. 
Please refer following code snippet,  
[ASPX] 
<form id="form1" runat="server"> 
        <div> 
            <ej:Gantt ID="GanttControlResource" runat="server" ...    /> 
                //...   
                <ScheduleHeaderSettings WeekStartDay="4" /> 
            </ej:Gantt> 
        </div> 
    </form> 
 
This feature was implemented and included in our Volume 1 main release 2017 (15.1.0.33), if you are using lower version please upgrade your source to this version or higher versions. 
 
We have also prepared a sample with your requirement in ASP.NET platform, please find the sample location below, 
Please let us know if you require further assistance on this. 
 
Thanks, 
Suriyaprasanth R. 


Loader.
Up arrow icon