Table of Contents

Class InsertAction

Namespace
JJMasterData.Core.DataDictionary.Models.Actions
Assembly
JJMasterData.Core.dll
public sealed class InsertAction : GridToolbarAction, IModalAction
Inheritance
InsertAction
Implements
Inherited Members

Constructors

InsertAction()

public InsertAction()

Fields

ActionName

public const string ActionName = "insert"

Field Value

string

Properties

ElementNameToSelect

Redirects the insert to another element.

[JsonProperty("elementNameToSelect")]
[Display(Name = "Element Name To Select")]
public string ElementNameToSelect { get; set; }

Property Value

string

InsertActionLocation

[Display(Name = "Location")]
[JsonProperty("insertActionLocation")]
public InsertActionLocation InsertActionLocation { get; set; }

Property Value

InsertActionLocation

ModalTitle

[Display(Name = "Modal Title")]
public string ModalTitle { get; set; }

Property Value

string

ReopenForm

Re-opens the insert after saving.

[JsonProperty("reopenForm")]
[Display(Name = "Reopen Form")]
public bool ReopenForm { get; set; }

Property Value

bool

ShowAsModal

[JsonProperty("showAsModal")]
[Display(Name = "Show as Modal")]
public bool ShowAsModal { get; set; }

Property Value

bool

ShowOpenedAtGrid

[JsonIgnore]
public bool ShowOpenedAtGrid { get; }

Property Value

bool

SuccessMessage

[Display(Name = "Success Message")]
public string SuccessMessage { get; set; }

Property Value

string

Methods

DeepCopy()

public override BasicAction DeepCopy()

Returns

BasicAction