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.
Unfortunately, activation email could not send to your email. Please try again.

ejGantt 'includeWeekend' Member

Thread ID:

Created:

Updated:

Platform:

Replies:

116837 Jun 16,2014 10:14 AM Jun 20,2014 12:30 PM JavaScript 4
loading
Tags: ejGantt
Otomar Naprstek
Asked On June 16, 2014 10:14 AM

Hello,

Maybe I do not understand exactly how this feature works: includeWeekend, Platform- JavaScript, control - ejGantt.

I read data from Microsoft Project xml file, using ProjIO.
(See uploaded files: MySecondProject.xml, Original_project_02.png in MyProject02.zip)

When I set 'includeWeekend' to true, the data seem to be okay 
(except summary tasks: Start Date, End Date, Duration, Progress)
(See uploaded file: ejGantt_project_02_includeWeekend_true.png in MyProject02.zip )

But, when I set 'includeWeekend' to false, the data is not okay. (Start Date, End Date, Duration, Progress)
(See uploaded file: ejGantt_project_02_includeWeekend_false.png in MyProject02.zip )

Why is this so? Where possible difficulty?

Thanks and BR
Oto

Attachment: MyProject02_86e0897f.zip

Otomar Naprstek
Replied On June 16, 2014 10:22 AM

I am sorry,

I joined outdated versions of files.

Now is the valid version of file attached.


Thanks and BR

Oto


Attachment: MyProject02_modified_ce5080b3.zip

Bharath Marimuthu [Syncfusion]
Replied On June 17, 2014 11:00 AM

Hi Otomar ,

 

Sorry about the inconvenience caused.

 

We have analyzed on your query and please find the comments below,

 

Query

Syncfusion Comments

Maybe I do not understand exactly how this feature works: includeWeekend, Platform- JavaScript, control - ejGantt.

includeWeekend API can be either true or false Please find the details for includeWeekend API.

 

true: weekends (Saturday and Sunday) will be considered as working days.

false: weekends will be considered as non-working days(holidays)

When I set 'includeWeekend' to true, the data seem to be okay 

(except summary tasks: Start Date, End Date, Duration, Progress)

 

In our ejGantt implementation parent tasks (summary tasks) data will be updated depending upon its child tasks and taskbar relationship (), thus user input values(startdate, enddate, duration and progress) for parent tasks can be changed after validation .

But, when I set 'includeWeekend' to false, the data is not okay. (Start Date, End Date, Duration, Progress)

Input data (only startdate, enddate and duration)will be validated for includeWeekend as false ,since weekends are considered as non-working days , but we could not reproduce the issue mentioned in the screen shot provided by you for includeWeekend as false. So could you please share the sample to replicate the issue?

 

 

We have provided a sample and screen shots for API includeWeekend based on this for your reference, please find the sample and screen shots in the following location, And also we are analyzing on this to display the user input data without any validations .

 

Sample Location: http://www.syncfusion.com/downloads/support/directtrac/general/gantt-646693005.zip

 

Screen shot Location: http://www.syncfusion.com/downloads/support/directtrac/general/screenshots180295555.zip

 

Please let us know if you need further assistance on this.

 

Thanks,

Bharath.


Otomar Naprstek
Replied On June 19, 2014 01:41 AM

Thank you for your reply. I found where the problem was.

Duration item was not filled, therefore it display the wrong.

After its fulfillment, according to 'includeWeekend' already displaying works properly.


Thanks and BR

Oto


Bharath Marimuthu [Syncfusion]
Replied On June 20, 2014 12:30 PM

Hi Otomar ,

 

Thank you for your update.

 

We are glad to know that your issue has been resolved , please let us know if you require any further assistance on this .

 

Regards,

Bharath.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;