Using colours in the default Gantt view (Project Tasks)


  • I have a project task list based on the default “Project Tasks” list defined in Sharepoint. In the list I have the following columns:

    • Project
    • Title
    • Start Date
    • Due Date
    • Task Status
    • Assigned To

    I would like the bars in the Gantt view to have different colours depending on who the task is assigned to, e.g. pick a set of initials from a drop-down menu (Assigned To) and the bar will have one specific colour.

    Is this possible without having admin rights to the server hosting the Sharepoint site?

    Friday, April 20, 2012 10:10 AM

All replies

  • Hey,

    By using Javascript or Jquery you can acheieve it easily.Calculated column i think is the pointer which you will need to add.

    Following link will point you in the correct direction

    Let me know if you have any queries :)

    Mark as Answer if it solves your problem :)

    "The Only Way To Get Smarter Is By Playing A Smarter Opponent"

    Friday, April 20, 2012 12:15 PM
  • I've seen the link you refer to before, but I'm not quite sure what to write where. In the code there is a [% Complete] which I believe is predefined (?). How do I refer to the employee instead?

    I.e. if "Assigned To" = "NGH" then "colour of default task bar" = blue

    (NGH being the initials of a person)

    or something similar. Please ask if above is unclear.



    • Edited by HenrietteK Friday, April 20, 2012 1:43 PM
    Friday, April 20, 2012 1:36 PM