Question about gantt customization
mits87 opened this issue · comments
Hi,
First of all I would like to thank you for really great library!
I'm trying to customize a little the plugin and I have a few related questions:
-
How can I round the round the polygon
task
corners like here: https://www.dropbox.com/s/33oyz3lk999yu7j/Screenshot%202019-06-09%2019.24.44.png?dl=0 -
Related to the previous point - how can I put some different text than
label
to inside the polygon (not next to as is already)? -
How can I disabled all default styles? I would like to put my own without
important
keyword. -
How can I disabled / remove resizer and top expander element:
https://www.dropbox.com/s/a5d8edlq90ir19j/Screenshot_2019-06-09_19_28_02.png?dl=0 -
How can I put HTML text to calendar rows?
https://www.dropbox.com/s/tbqexswk4mkw0n8/Screenshot_2019-06-09_19_28_03.png?dl=0 -
When I don't have any tasks then my calendar disappear- I would like to see always calendar from specific date to specific date- let's say from 1980-01-01 to 2024-01-01 ?
-
How can I put different background for "parent" row?
https://www.dropbox.com/s/oniw59t6wobsh9d/Screenshot_2019-06-09_19_28_04.png?dl=0 -
How can I put some value/text inside every cell?
https://www.dropbox.com/s/yxy4pd2a2l3ndl6/Screenshot%202019-06-09%2022.37.10.png?dl=0
Thank you in advance for answer.
- The only way for now it is to create copy of
components/Chart/Row/Task.vue
and modify it (especially svg code). Build it with some bundler you prefer. Then before initialization replace this component in loadedwindow.GanttElastic
structure (GanttElastic.components.....components...components
). - Same as before you can modify
Task.vue
. - For now it is not possible, but PRO version will have it.
- You can remove
expander
property from column.
If you want remove resizer you can adddisplay:none
indynamicStyle
option:
dynamicStyle: {
'task-list-header-resizer-wrapper': {
display: 'none'
}
},
- You cannot - only when you replace subcomponents by yourself like in point 1. PRO version will have option for this.
- PRO version will have it.
- You cannot without replacing subcomponents. PRO version will have it.
- PRO version will have posibility to create custom rows which can contain custom content basing on the date of the cell - probably function with timestamp.
I'm closing this issue but feel free to respond here.