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

Bubbles in Gantt

Asked by Roger
8 years ago.

How to show a bubbles (or something like that) in a gantt diagramm, when mouse is over a task?

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

In the Gantt control, the following properties are available:

  • BubbleTask
  • BubbleCell
  • BubbleRow

You can use BubbleTask to specify the bubble for task boxes (in the grid) and BubbleRow to specify the bubble for task row headers.

Example:

.aspx
    <DayPilot:DayPilotGantt
        ID="DayPilotGantt1" 
        runat="server" 
        ...
        BubbleTaskID="DayPilotBubble1"
        BubbleRowID="DayPilotBubble1"
        >
    </DayPilot:DayPilotGantt>
   
    <DayPilot:DayPilotBubble runat="server" ID="DayPilotBubble1"></DayPilot:DayPilotBubble>

Code behind:
    void DayPilotGantt1_BeforeTaskRender(object sender, BeforeTaskRenderEventArgs e)
    {
        e.Box.BubbleHtml = "Complete: " + e.Complete + "%";
        e.Row.BubbleHtml = "Task Name: " + e.Text;
    }

You will need the latest sandbox build (8.1.3459) for the e.Row.BubbleHtml property to work.

http://www.daypilot.org/sandbox/

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