Holiday, Working Time by resource

Hi,

is it possible to use holidays and workingtime properties based on resource in gantt resource view?
I want to have diferent background colours depending on every resource timetable.

Thanks

29 Replies

PE Punniyamoorthi Elangovan Syncfusion Team June 15, 2018 01:18 PM UTC

Hi Oscar, 
Thank you for contacting Syncfusion support 
We have analyzed your requirement. Currently in ResourceView Gantt, there is no support to set the holidays and dayWorkingTime for specific Resources. 
Please let us know if you require further assistance on this. 
Regards, 
Punniyamoorthi 



OB oscar bartolome June 18, 2018 06:52 AM UTC

Ok, I'll try to find a solution by myself.

Another question, how can I change the background color of the gantt by time ranges, for example working time?

Thanks.


PE Punniyamoorthi Elangovan Syncfusion Team June 19, 2018 02:34 PM UTC

Hi Oscar, 
Sorry for inconvenience caused 
Currently in Resourceview Gantt there is no support to the set the background color for specific working time and we can set the working time for tasks in Resourceview Gantt by using dayWorkingTime property. 
Please let us know if you require further assistance on this.  
Regards,  
Punniyamoorthi  



OB oscar bartolome June 19, 2018 02:38 PM UTC

Ok. I thought it could be possible as on holidays background property. 
Is it possible to assign a date range for holidays or it can only be an specific day?

Thanks.


PE Punniyamoorthi Elangovan Syncfusion Team June 20, 2018 01:52 PM UTC

Hi Oscar, 
We have analyzed your requirement., currently we can set holidays as day collection only, we can’t provide as date range value. We can achieve your requirement by passing the date range as continues day collection to the holidays property. Please refer the below code snippet. 
<script type="text/javascript">    
      $("#resourceGantt").ejGantt({ 
                dataSource: resourceGanttData, 
                allowColumnResize: true, 
                holidays:[{ day: "01/30/2017" }, { day: "01/31/2017", label: "Holiday Name" }, { day: "02/01/2017" }], 
                //.. 
  }); 
</script> 
We have prepared a sample for this, please find the sample link below. 
Please let us know if you require further assistance on this 
Regards, 
Punniyamoorthi. 
 



OB oscar bartolome June 20, 2018 02:03 PM UTC

Ok. And could you provide me the code you use to change the color of the background for holidays/weekend so I can make one for coloring the background based in workingtime? It's very important for us this feature.

Thanks


PE Punniyamoorthi Elangovan Syncfusion Team June 21, 2018 12:00 PM UTC

Hi Oscar, 
In ResourceView Gantt we can customize the weekend highlight color by using weekendBackground  property please refer the below code snippet 
[HTML] 
<ej-gantt id="resourceGantt" 
          [dataSource]="resourceGanttData" 
          [viewType]=viewType 
          weekendBackground="#F2F4F4" 
          //.. 
   > 
</ej-gantt> 
We can change the background color of the holidays by using holidays collection property of background. It is used to Specifies the background color for holiday date in Gantt Schedule. Please refer the below code snippet 
[HTML] 
<ej-gantt id="resourceGantt" 
          [dataSource]="resourceGanttData" 
          [viewType]=viewType 
          [holidays]= "holidays" 
          //.. 
       > 
</ej-gantt> 
 
[TS] 
constructor() { 
   this.holidays = [{ 
            day: "01/30/2017", 
            background: "yellowgreen " 
        }, 
        { 
             day: "01/31/2017", 
             label: " Public holiday", 
            background: "yellowgreen " 
         }, 
         { 
             day: "02/01/2017", 
             background: "yellowgreen " 
         } 
       ] 
}; 
We have prepared the sample for your reference please find the sample link below 
Please let us know if you require further assistance on this  
Regards,  
Punniyamoorthi.  



OB oscar bartolome June 21, 2018 12:10 PM UTC

Hi,

yes, I already knew weekendBackground and background properties. What I want to know is the code beyond that properties so I can make a code myself to implement a background property for workingTime. I would like to know how to tell the gantt control: "for this hour to this hour this color, for that hour to that hour that color, etc"...

Thanks.


PE Punniyamoorthi Elangovan Syncfusion Team June 22, 2018 02:34 PM UTC

Hi Oscar, 
We have analyzed your requirement, but we need some clarification on your requirement. Please let us know if you need to change the background color for the working time range and also the importance of this feature in your application, it will be helpful for us to serve you better. Currently there is no support for this requirement in Gantt but we can implement this feature only for “day” timescale schedule type  and we cannot implement this support for other timescale schedule types like in Microsoft project.  
Please let us know if you require further assistance on this. 
Regards, 
Punniyamoorthi 



OB oscar bartolome June 26, 2018 06:27 AM UTC

Hi,

what we want to do is something like this:



We have two working time shifts. Shift 1 for 03:00 to 17:00 and Shift 2 for 17:00 to 03:00. The idea is to have different background color for each shift. 
This is a very importan feature for us, and it is a very common feature in gantt charts. It could be possible to have this?

Thanks.


PE Punniyamoorthi Elangovan Syncfusion Team June 27, 2018 12:59 PM UTC

Hi Oscar, 
We have analyzed your screenshot and importance of the requirement. As per your requirement we have considered your requirement as feature request and have logged a report on Support for highlighting time range in day timescale mode”. This feature will be available in our upcoming 2018 Volume 3 main release, which is expected to be roll out in the end of September 2018.  
Please let us know if you require further assistance on this.  
Regards,  
Punniyamoorthi




OB oscar bartolome June 29, 2018 06:17 AM UTC

Ok, thank you very much, we'll wait until September to add this feature. 
Could it be possible to have distinct highlight time range by resource in Resource View mode? It would be very great.

Thanks.


BM Bharath Marimuthu Syncfusion Team July 2, 2018 06:52 AM UTC

Hi Oscar, 
 
We have considered the feature request for the requirement of highlighting the working time shifts in a day. In this feature, you can split the days with number of working shifts, with shifts not coinciding with others. Also when the time shifts are defined, that will be applied to the whole project settings, not specific to the resource. In the below image instance, which you have provided in your previous update, there will be two working time shifts (3.00 AM - 5.00 PM) and (5.00 PM – 3.00 AM) in a day along the whole project. 

 

If the above explained feature description doesn’t meet your requirement, please provide more detailed information regarding your requirement. Also you have mentioned as distinct highlight time range by resource”, In a project, there may be multiple resources and if we highlight time ranges for each resource, the support for highlighting multiple overlying shifts in a day is not possible to be displayed. 

Regards, 
Bharath. 



OB oscar bartolome July 3, 2018 06:32 AM UTC

Hi,

what I mean is that in a company, the resources (people, workcenters,..) may have diferent shifts or timetables depending on different factors.
So it would be great if the working time could be defined by resource (and then the background color) to achieve this. Mostly in Resource View mode.

Thanks.


BM Bharath Marimuthu Syncfusion Team July 5, 2018 11:29 AM UTC

Hi Oscar, 
 
Thank you for your update. 
 
We need some more details regarding your feature requirement. As per your previous update, if we define working time shifts for each resource in a project, the time shift information will be maintained in the tasks and will be considered while editing. For instance, if a resource has a time shift from 9:00 AM to 6:00 PM and if we drag the task of that resource beyond 6:00 PM, the task will be shifted to the working shift of the next day. 
And in the UI If we are applying the background color for working time shifts, then it will displayed like the below image.  
Can you please confirm us, whether these will meet your requirements, else please revert to us with additional details. 
 
 

In the above image, no tasks were assigned to the resource for indicating the working time shifts clearly. 
 
Regards, 
Bharath. 



OB oscar bartolome July 5, 2018 12:43 PM UTC

Yes, that exactly what we are thinking about. The image shows it perfectly. 

Other idea related to this that would be useful is exactly the opposite, it is selecting time ranges that the resource can't work or isn't avaliable and then change the background color for this time range exceptions, and if we drag the task of that resource inside this time range exception, the task will be shifted to the next working time range. 

Making this possible would be so great. Thanks!


PE Punniyamoorthi Elangovan Syncfusion Team July 6, 2018 12:03 PM UTC

Hi Oscar, 
Currently there is no support to achieve this requirement in Gantt. So we have considered this as feature request and logged a feature report as “Different working time range support for each resource”. 
This feature will be implemented and included in our upcoming Volume 3, 2018 main release, which is expected to be roll out at the end of August, 2018. We will update you once the Volume 3 got released. 
Please let us know if you require further assistance on this.  
Regards,  
Punniyamoorthi. 



OB oscar bartolome July 9, 2018 06:07 AM UTC

Great to hear this. Thanks a lot!


JD Jayakumar Duraisamy Syncfusion Team July 9, 2018 12:47 PM UTC

Hi Oscar, 
We are apologized for the wrong release date information in the previous update. Our upcoming Volume 3, 2018 main release will be expected to roll out at the mid of September 2018. 
Regards, 
Jayakumar D 



JR John Rajaram Syncfusion Team August 6, 2018 12:40 PM UTC

Hi Oscar, 
As per your feature request, currently we are working on “Different working time range support for each resource” feature in Gantt and we have planned to implement this feature only for day-hour timescale mode. We request you to provide more details of your requirements on this feature support. Please let us know if you need to perform the Editing, Deleting, Dragging action on the taskbar in Gantt chart side and also if you need to handle workUnit, workWeek, workMapping feature of the Gantt with this feature requirement. 
Regards, 
John R 



OB oscar bartolome August 27, 2018 06:54 AM UTC

Hi,

we work almost all the time with hour-minute timescale mode. So we would need this feature too.

Thank you


JR John Rajaram Syncfusion Team August 28, 2018 12:58 PM UTC

Hi Oscar,  
Thank you for your update. 
As per your requirement we will consider the feature for hour-minute timescale mode in Gantt. Can you please provide the details for following queries that we have already requested you in our previous update?  Please confirm us that whether you need to perform the Editing, Deleting, Dragging action on the taskbar in Gantt chart side. Also do you need the support to handle workUnitworkWeekworkMapping feature of the Gantt with this feature requirement. 
Regards, 
John R 



OB oscar bartolome August 29, 2018 09:15 AM UTC

Hi,

yes we'll need all this features.

Thanks a lot


JR John Rajaram Syncfusion Team August 30, 2018 01:28 PM UTC

Hi Oscar,   
Thank you for your update. 
As per your confirmation we will consider the requested features for hour-minute timescale mode in Gantt control. 
Please let us know if you require further assistance on this. 
Regards, 
John R 



OB oscar bartolome April 3, 2019 09:17 AM UTC

Hi,

how is this going? Have you implemented the “Different working time range support for each resource” feature? For all time scale modes?

Thanks.


MS Mydeen S N Syncfusion Team April 5, 2019 10:33 AM UTC

Hi Oscar, 
 
We regret for the inconvenience caused. 
We worked on this feature implementation in EJ1 Gantt for “Different working time range support for each resource”, but as this feature involves multiple complexities we needed more time to ensure all the use cases and hence we have dropped this feature in EJ1 Gantt. Instead we have considered this feature request for our EJ2 Gantt, which has been already rolled out as preview version.  We have created a feedback for this feature request and you can track this using the below link, 
 
 
As we are working on multiple features for EJ2 Gantt, we couldn’t provide you a definite timeline for this feature request. And hence this feature will be included in any of our upcoming main release. 
Please let us know, if you need further assistance. 
 
Regards, 
Mydeen S N 



OB oscar bartolome April 5, 2019 10:39 AM UTC

Hi,

will EJ2 Gantt have the same EJ1 Gantt available features? Will the use of these features be coded similarly?

Thanks


MS Mydeen S N Syncfusion Team April 8, 2019 01:09 PM UTC

Hi Oscar, 

Thanks for the update. 

Most of the features in EJ1 Gantt are available in EJ2 Gantt. Since we have launched only a preview version in EJ2, we need to include more features in EJ2 Gantt for a complete feature set as like in EJ1 Gantt, and we will include more features in our upcoming releases. 

Please find the below feature tour documentation for EJ2 Gantt 

You can also find the Angular Gantt samples from the below link. 

We are currently updating our online UG documentation and this will be published by 9th April,2019.  

Regards, 
Mydeen S N 



MS Mydeen S N Syncfusion Team April 9, 2019 12:20 PM UTC

 Hi Oscar, 
 
We are glad to inform that documentation for Angular  Gantt has been published and can be viewed from below link 
 
 
 
  
Regards,   
Mydeen S N  


Loader.
Up arrow icon