Class GanttDragTooltipBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class GanttDragTooltipBuilder
Constructors
GanttDragTooltipBuilder(GanttDragTooltip)
It set the value to displaying and customizing the tooltip
Declaration
public GanttDragTooltipBuilder(GanttDragTooltip tooltip)
Parameters
Type | Name | Description |
---|---|---|
GanttDragTooltip | tooltip |
Methods
ShowTooltip()
It enable the tooltip while dragging a row.
Declaration
public GanttDragTooltipBuilder ShowTooltip()
Returns
Type | Description |
---|---|
GanttDragTooltipBuilder | GanttDragTooltipBuilder |
ShowTooltip(Boolean)
Specifies whether to show tooltip while dragging a row.
Declaration
public GanttDragTooltipBuilder ShowTooltip(bool showTooltip)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showTooltip | It accepts the boolean value and enable or disable the drag tooltip |
Returns
Type | Description |
---|---|
GanttDragTooltipBuilder | GanttDragTooltipBuilder |
TooltipItems(List<GanttTooltipItems>)
Option to add field names whose corresponding values in the dragged row needs to be shown in the preview tooltip.
Declaration
public GanttDragTooltipBuilder TooltipItems(List<GanttTooltipItems> defaultItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<GanttTooltipItems> | defaultItems | It accepts the GanttTooltipItems and show the specific column in drag tooltip |
Returns
Type | Description |
---|---|
GanttDragTooltipBuilder | GanttDragTooltipBuilder |
TooltipItems(List<String>)
Option to add field names whose corresponding values in the dragged row needs to be shown in the preview tooltip.
Declaration
public GanttDragTooltipBuilder TooltipItems(List<string> defaultItems)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<System.String> | defaultItems | It accepts the GanttTooltipItems and show the specific column in drag tooltip |
Returns
Type | Description |
---|---|
GanttDragTooltipBuilder | GanttDragTooltipBuilder |
TooltipTemplate(String)
It sets the Custom template for that tooltip that is shown while dragging a row.
Declaration
public GanttDragTooltipBuilder TooltipTemplate(string tooltipTemplate)
Parameters
Type | Name | Description |
---|---|---|
System.String | tooltipTemplate | It accepts the string value and set the custom template for drag tooltip |
Returns
Type | Description |
---|---|
GanttDragTooltipBuilder | GanttDragTooltipBuilder |