Class GanttEditOptionsBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class GanttEditOptionsBuilder
Constructors
GanttEditOptionsBuilder(GanttEditOptions)
It sets the value to Specifies the editSettings options.
Declaration
public GanttEditOptionsBuilder(GanttEditOptions edit)
Parameters
Type | Name | Description |
---|---|---|
GanttEditOptions | edit |
Methods
AllowAdding()
It enable the adding in gantt.
Declaration
public GanttEditOptionsBuilder AllowAdding()
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |
AllowAdding(Boolean)
It sets the enables or disables the adding in gantt.
Declaration
public GanttEditOptionsBuilder AllowAdding(bool allowAdding)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowAdding | It accepts the boolean value and enables/disables the adding in gantt |
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |
AllowDeleting()
It enable the deleting record in gantt
Declaration
public GanttEditOptionsBuilder AllowDeleting()
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |
AllowDeleting(Boolean)
It sets the enables or disables the deleting record in gantt.
Declaration
public GanttEditOptionsBuilder AllowDeleting(bool allowDeleting)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowDeleting | It accepts the boolean value and enables/disables the deleting record in gantt |
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |
AllowEditing()
It enable the editing in gantt.
Declaration
public GanttEditOptionsBuilder AllowEditing()
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |
AllowEditing(Boolean)
It sets the enables or disables the editing in gantt.
Declaration
public GanttEditOptionsBuilder AllowEditing(bool allowEditing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowEditing | It accepts the boolean value and enables/disables the editing in gantt |
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |
AllowIndent()
It disables the indenting record option.
Declaration
public GanttEditOptionsBuilder AllowIndent()
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |
AllowIndent(Boolean)
It sets the enables or disables the indenting record option.
Declaration
public GanttEditOptionsBuilder AllowIndent(bool allowIndent)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | allowIndent | It accepts the boolean value and enables/disables the indenting record option |
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder |
BeginEditAction(GanttBeginEditAction)
It sets the edit action in gantt , “click” is for editing on single click, ”dblclick” is for editing on double click
Declaration
public GanttEditOptionsBuilder BeginEditAction(GanttBeginEditAction beginEditAction)
Parameters
Type | Name | Description |
---|---|---|
GanttBeginEditAction | beginEditAction | It accepts the GanttBeginAction value and sets the edit action of gantt |
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |
EditMode(String)
It sets the edit mode in gantt, “normal” is for dialog editing ,”cellEditing” is for cell type editing
Declaration
public GanttEditOptionsBuilder EditMode(string editMode)
Parameters
Type | Name | Description |
---|---|---|
System.String | editMode | It accepts the string value and set the edit mode of gantt. |
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |
RowPosition(GanttRowPosition)
It sets the new row add position while adding the record.
Declaration
public GanttEditOptionsBuilder RowPosition(GanttRowPosition rowPosition)
Parameters
Type | Name | Description |
---|---|---|
GanttRowPosition | rowPosition | It accepts the GanttRowPosition value and set the row position of new row |
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |
ShowDeleteConfirmDialog()
It enable the delete confirmation dialog before delete the record.
Declaration
public GanttEditOptionsBuilder ShowDeleteConfirmDialog()
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |
ShowDeleteConfirmDialog(Boolean)
It sets the enables or disables the delete confirmation dialog before delete the record.
Declaration
public GanttEditOptionsBuilder ShowDeleteConfirmDialog(bool showDeleteConfirmDialog)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | showDeleteConfirmDialog | It accepts the boolean value and enables/disables the delete confirmation dialog before delete the record. |
Returns
Type | Description |
---|---|
GanttEditOptionsBuilder | GanttEditOptionsBuilder |