Class EditSettingsItemBuilder
Represents a class for EditSettingsItemBuilder which includes field, edit options, edit type, validation rules, and default value.
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class EditSettingsItemBuilder
Constructors
EditSettingsItemBuilder(KanbanEditSettings)
Initializes a new instance of the EditSettingsItemBuilder class.
Declaration
public EditSettingsItemBuilder(KanbanEditSettings edit)
Parameters
Type | Name | Description |
---|---|---|
KanbanEditSettings | edit | It accepts the list of editSettings option |
Methods
Add()
It adds the current EditSettings Item value.
Declaration
public void Add()
DateEditOptions(DatePickerProperties)
It sets a value that indicates to customize ejDatePicker of an editable column.
Declaration
public EditSettingsItemBuilder DateEditOptions(DatePickerProperties dateeditparams)
Parameters
Type | Name | Description |
---|---|---|
DatePickerProperties | dateeditparams | It accepts the customized DatePicker |
Returns
Type | Description |
---|---|
EditSettingsItemBuilder | EditSettingsItemBuilder |
DateTimeEditOptions(DateTimePickerProperties)
It sets a value that indicates to customize ejDateTimePicker of an editable column.
Declaration
public EditSettingsItemBuilder DateTimeEditOptions(DateTimePickerProperties datetimeeditparams)
Parameters
Type | Name | Description |
---|---|---|
DateTimePickerProperties | datetimeeditparams | It accepts the customized DateTimePicker |
Returns
Type | Description |
---|---|
EditSettingsItemBuilder | EditSettingsItemBuilder |
DefaultValue(String)
It sets a value that indicates to display the specified default value while adding a new card to the Kanban.
Declaration
public EditSettingsItemBuilder DefaultValue(string defaultValue)
Parameters
Type | Name | Description |
---|---|---|
System.String | defaultValue | It accepts the default value based on the object value. |
Returns
Type | Description |
---|---|
EditSettingsItemBuilder | EditSettingsItemBuilder |
DropdownEditOptions(DropDownListProperties)
It sets a value that indicates to customize ejDropDownList of an editable column.
Declaration
public EditSettingsItemBuilder DropdownEditOptions(DropDownListProperties dropdowneditparam)
Parameters
Type | Name | Description |
---|---|---|
DropDownListProperties | dropdowneditparam |
Returns
Type | Description |
---|---|
EditSettingsItemBuilder | EditSettingsItemBuilder |
EditType(KanbanEditingType)
It sets the value that indicates to render the element(based on edit type) for editing the Kanban card.
Declaration
public EditSettingsItemBuilder EditType(KanbanEditingType editType)
Parameters
Type | Name | Description |
---|---|---|
KanbanEditingType | editType | It accepts the element based on the edit type. |
Returns
Type | Description |
---|---|
EditSettingsItemBuilder | EditSettingsItemBuilder |
Field(String)
To set field mappings for editing items.
Declaration
public EditSettingsItemBuilder Field(string field)
Parameters
Type | Name | Description |
---|---|---|
System.String | field | The field |
Returns
Type | Description |
---|---|
EditSettingsItemBuilder |
NumericEditOptions(EditorProperties)
It sets a value that indicates to customize ejNumericTextbox of an editable column.
Declaration
public EditSettingsItemBuilder NumericEditOptions(EditorProperties numericeditparams)
Parameters
Type | Name | Description |
---|---|---|
EditorProperties | numericeditparams | It accepts the customized NumericTextbox |
Returns
Type | Description |
---|---|
EditSettingsItemBuilder | EditSettingsItemBuilder |
RTEEditOptions(RTEproperties)
It sets a value that indicates to customize ejRTE of an editable column.
Declaration
public EditSettingsItemBuilder RTEEditOptions(RTEproperties rteeditparam)
Parameters
Type | Name | Description |
---|---|---|
RTEproperties | rteeditparam |
Returns
Type | Description |
---|---|
EditSettingsItemBuilder | EditSettingsItemBuilder |
TextAreaOptions(KanbanTextAreaProperties)
It sets a value that indicates to customize Textarea of an editable column.
Declaration
public EditSettingsItemBuilder TextAreaOptions(KanbanTextAreaProperties textareaeditparams)
Parameters
Type | Name | Description |
---|---|---|
KanbanTextAreaProperties | textareaeditparams | It accepts the customized Textarea |
Returns
Type | Description |
---|---|
EditSettingsItemBuilder | EditSettingsItemBuilder |
ValidationRules(Action<KanbanValidationRuleBuilder>)
It sets a value that indicates to define constraints for saving data to the database.
Declaration
public EditSettingsItemBuilder ValidationRules(Action<KanbanValidationRuleBuilder> validationRule)
Parameters
Type | Name | Description |
---|---|---|
System.Action<KanbanValidationRuleBuilder> | validationRule | It define the constraints for saving data through lambda expression |
Returns
Type | Description |
---|---|
EditSettingsItemBuilder | EditSettingsItemBuilder |
ValidationRules(Dictionary<String, Object>)
It sets a value that indicates to define constraints for saving data to the database.
Declaration
public EditSettingsItemBuilder ValidationRules(Dictionary<string, object> validationRule)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.Dictionary<System.String, System.Object> | validationRule | It accepts the string as key and object value passed to define the constraints for saving the data |
Returns
Type | Description |
---|---|
EditSettingsItemBuilder | EditSettingsItemBuilder |