Comments (2)
Thanks for the list!
These sound good - though I don't fully get point 3. You want a different popup for a single click?
from gantt.
I was thinking it would be very nice to have more of a single click handler,
eg this on_click below actually triggers on double-click (unless I am doing it wrong),
ganttChart = new Gantt('#gantt', tasks, {
header_height: 50,
view_modes: ['Quarter Day', 'Half Day', 'Day', 'Week', 'Month'],
view_mode: 'Day',
on_date_change: (task, start, end) => {
debouncedSave(task.id, 'start', start);
debouncedSave(task.id, 'end', end);
},
on_progress_change: function(task, progress) {
debouncedSave(task.id, 'progress', progress);
},
on_click: function(task) {
if (task.id.startsWith('task-')) {
const taskId = task.id.replace('task-', ''); // Extract the integer part
edit_task(taskId);
} else if (task.id.startsWith('group-')) {
const groupId = task.id.replace('group-', ''); // Extract the integer part
edit_group(groupId);
}
},
language: 'en'
});
from gantt.
Related Issues (20)
- 请求添加只读模式 HOT 1
- [Issue] Events displayed 12 hours later than they really are HOT 1
- not able to increase size of progressbar HOT 1
- how to implement Finish to start dependancy in gantt chart HOT 2
- Create your avatar - needs a better title
- Is this project under active development or still under support? HOT 1
- ESM version not working
- Problem with dates while in MONTH view HOT 2
- About dark mode styles HOT 3
- German Language Customization HOT 2
- Gantt chart open source
- Drag function for each task HOT 1
- More Details, Improved Popup, And Expanded Tasks
- Any one have any code for saving the changes made when dragged to a Database? HOT 4
- Firefox: tooltip is out of screen
- Npm publish : Fix Github Actions HOT 1
- Some view mode don't fully fit gantt container
- Today button position is wrong after resize HOT 1
- Current day is not always rendered 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.