• Has anyone got this working?

    By Steve Hooper 1 decade ago

    I have loadeed dojox 1.6.1 Gantt Chart files onto the server as instructed. Signed the database, and can open the database via browser.

    I can load the Gantt Page, but see no data. Will check the sort columns as per the other users feedback, and see what else changes. But can not see the data, nor the project lines for each entry.

    Will be great if I can get it working.

    Any help would be greatly appreciated. Steve.Hooper@drnotes.com.au

    Cheers

    Steve

    • Got it working

      By Paul D Elmer 1 decade ago

      After much expiermentation i discovered why this project was refusing to show the data.

       

      It has to do with local time settings.

      The following code is used to get the task start dates.

       

      var tStartDate = docTask.getItemValueDateTimeArray("StartDate");

      var StartDate = tStartDate[0].toString();

       

      What this returns will vary according to the local time settings on the server hosting the code but on my machine in the uk it returns somthing like:   15/06/2011.

       

      The javascript Date constructor will convert this to 6th April 2012.  Basically the code will work on machines with a US dat format but not on machines with other formats.

      • By fatih duranoğlu 10 years ago

        Hi Paul

        how can i solve this problem.