Comments (10)
Yeah, or make something like group
s instead of master task, which will group multiple tasks in one row and only group options will be displayed in task list (maybe some summary of the whole row or somethink like that).
Theoretically text could be inside task&progress bar that will appear when zoom is enough.
I don't want to add functionality like tooltips because i will block custom actions that peoples will attach to hover/click depends on their needs i think.
from gantt-elastic.
It could be possible, but there are some problems to figure out.
If one row will contain two or more tasks:
- what should be displayed inside task list on the left?
- what about overlapping tasks? (how to edit them later if you cannot click it?)
- subtasks should be displayed in the row below? and what about sub of sub tasks?
- how to display text (currently on the right side of task inside chart view)
from gantt-elastic.
How about having a master task & date (the blue one below) ?
Then offer possibility to add more dates and durations (and colors) on the same row, but keep them secondary without subtasks.
No overlapping allowed.
Would be great to have custom names for each secondary tasks, but that's maybe too much to ask :)
from gantt-elastic.
How about having a master task & date (the blue one below) ?
Then offer possibility to add more dates and durations (and colors) on the same row, but keep them secondary without subtasks.
No overlapping allowed.Would be great to have custom names for each secondary tasks, but that's maybe too much to ask :)
Can I ask if the multi-task function of one line has been realized? I also face this need.
from gantt-elastic.
sorry, not implemented yet, I don't know when exactly it will be
from gantt-elastic.
Need this too...
from gantt-elastic.
So do I.
from gantt-elastic.
👍
from gantt-elastic.
I'm closing this issue for now I will back to this later
from gantt-elastic.
I'm working on this feature. I've implemented a new row component (Group.vue) that renders a new task type (called "group"). Group task has an array of tasks as property. Group component renders these child subtasks.
This is enough for my use case, but I would like to write some test, documentation and to think and implement a coherent logic (for example, maybe a group task can't have start, duration and percent properties and have to be calculated at init phase from child subtasks...).
Repo: https://github.com/demaryhuerto/gantt-elastic/tree/feature/group-task-type
Example model:
{
id: 1,
label: 'Make some noise',
user:
'<a href="https://www.google.com/search?q=John+Doe" target="_blank" style="color:#0077c0;">John Doe</a>',
start: getDate(-24 * 5),
duration: 15 * 24 * 60 * 60 * 1000,
percent: 85,
type: 'project',
},
{
id: 2,
label: 'Group',
user: '<a href="https://www.google.com/search?q=Clark+Kent" target="_blank" style="color:#0077c0;">Clark Kent</a>',
start: getDate(-24 * 2),
duration: 6 * 24 * 60 * 60 * 1000,
percent: 25,
type: 'group',
tasks: [
{
id: 21,
label: 'Group subtask 1',
user: '<a href="https://www.google.com/search?q=Clark+Kent" target="_blank" style="color:#0077c0;">Clark Kent</a>',
start: getDate(-24 * 2),
duration: 2 * 24 * 60 * 60 * 1000,
percent: 50,
type: 'project',
},
{
id: 22,
label: 'Group subtask 2',
user: '<a href="https://www.google.com/search?q=Clark+Kent" target="_blank" style="color:#0077c0;">Clark Kent</a>',
start: getDate(24 * 2),
duration: 2 * 24 * 60 * 60 * 1000,
percent: 50,
type: 'task',
},
],
},
from gantt-elastic.
Related Issues (20)
- Calendar vue by chinese
- How to use gantt elastic with angular HOT 1
- gantt chart is not showing HOT 1
- Export Gantt Chart to PDF HOT 1
- Showing full year HOT 1
- "Unexpected value NaN% parsing width attribute" warning when adding task to chart HOT 4
- gantt-schedule-timeline-calendar Transition Schedule HOT 1
- blocks browser when no tasks given (empty array) HOT 5
- will this still be maintained? HOT 2
- style for calendar-wrapper not applied (width) HOT 7
- Subtasks roll up to parent task HOT 1
- Dayjs is not defined HOT 3
- gantt-elastic vs gantt-schedule-timeline-calendar HOT 1
- more tasks for line HOT 5
- exclude holidays HOT 1
- Does it support react? HOT 3
- Load events dynamically HOT 4
- Start hour and end hour in the chart task. HOT 1
- IE support HOT 1
- Calendar vue by weeks/Months/Years HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gantt-elastic.