vue-ganttastic
vue-ganttastic copied to clipboard
Slot label for g-gantt-row doesn't work
When I try to use the label slot with a label column title in the g-gantt-chart, nothing is displayed.
After checking the code, I can see that this is because the slot contains {{ label }} and so I can't customize it properly. I guess I should leave
I think it's better to use the label slot if we have a label column title. It's more normal because we may have a lot of information to display, so we need this design with a custom label.
When using label-column-title
, you may use the slot label-column-row
of GGanttChart
. Take a look at the docs.
Though agreed, it'd be cleaner to re-use the existing slot in GGanttRow
in this case. I will have to think of a hopefully simple way to implement that.