frappe / gantt

Open Source Javascript Gantt
https://frappe.io/gantt
MIT License
4.6k stars 1.02k forks source link

custom_class does not work #360

Closed PartTimeDevPM closed 5 months ago

PartTimeDevPM commented 10 months ago

Hi All, first post so be gentle.

I have been using frappe Gantt for a while now and its been good. I've come to the point where I need to add different coloured bars in for baselines and forecast dates. However the custom_class is not working, I have tried most of the work arounds I have seen on here but nothing has worked.

Following the standard of add "custom_class:'bar-milestone" and update the css file does literally nothing.

Using the inspect tool I can see the CSS field is being read but the colour doesn't change.

Any help gratefully received .

LeeWheeler commented 9 months ago

Part time paste you code in here so we can have a look.

safwansamsudeen commented 5 months ago

@PartTimeDevPM I'm sorry to hear that the library wasn't working for you: could you share your code?