search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Gantt Control, Tasks same row

Asked by Martin
8 years ago.

Hi! We're using the Gantt Control at the moment, but we would like to be able to have tasks(in our case, tasks are cars) on the same row. Tasks with the same resource can't be made at the same time, so for looks we would like bookings with the same resource to be next to each other on the same row. I been testing different ways to do this, but I just can't seem to figure it out. Is it even possible and how?

Answer posted by Dan Letecky [DayPilot]
8 years ago.

The Gantt control is designed to display one task per row.

1. There is an option to display different task "versions" for the same row. However, they are read-only and they will stacked vertically inside the row (increasing the row height). In the MVC version this will be possible in the upcoming 8.1 release. You can take a look at this feature in the JavaScript demo:

http://javascript.daypilot.org/demo/gantt/taskversions.html

2. If you need to have multiple full-features events/reservations for each resource you might want to use the Scheduler control instead of the Gantt chart control:

http://mvc.daypilot.org/demo/scheduler/

Comment posted by Martin
8 years ago.

Thanks for the clear-up! Then I don't have to spend another hour trying to fix a problem that can't be fixed(not easily any way...). We have to real need for any Gantt-hierachy, so we'll simply go for the Scheduler control! Thanks for the superquick answer! :)

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.