Interface representing a cell in the grid. It is essentially the blueprint to a cell object. Contains definitions of properties and methods, relevant to a cell

Inheritance

object
Implements
  • IComponent
  • IHandleEvent
  • IHandleAfterRender
  • JsonSerializable

constructor

public IgbCellType()

Returns IgbCellType

Inherited from: BaseRendererElement

[Inject]
protected IIgniteUIBlazor IgBlazor { get; set; }

Inherited from: BaseRendererElement

public bool IsComponentRooted { get; }

Inherited from: BaseRendererElement

protected virtual string ParentTypeName { get; }

Inherited from: BaseRendererElement

protected virtual bool UseDirectRender { get; }

Inherited from: BaseRendererElement

[Parameter]
public RenderFragment ChildContent { get; set; }

Inherited from: BaseRendererElement

protected virtual bool SupportsVisualChildren { get; }

Inherited from: BaseRendererElement

[Parameter]
public string Name { get; set; }

Inherited from: BaseRendererElement

public object Parent { get; }

Inherited from: BaseRendererElement

protected virtual string MethodTarget { get; }

Inherited from: BaseRendererElement

protected object CurrParent { get; }

Indicates whether the cell is currently active (focused).

[Parameter]
public bool Active { get; set; }

Optional; The cellID is the unique key, used to identify the cell

[Parameter]
public object CellID { get; set; }

Represents the column that the cell belongs to.

[Parameter]
public IgbColumn Column { get; set; }

Indicates whether the cell is currently in edit mode.

[Parameter]
public bool EditMode { get; set; }

The value to display when the cell is in edit mode.

[Parameter]
public object EditValue { get; set; }

Indicates whether the cell can be edited.

[Parameter]
public bool Editable { get; set; }

Represents the grid instance containing the cell

[Parameter]
public IgbGridBaseDirective Grid { get; set; }

Optional; An object identifying the cell. It contains rowID, columnID, and rowIndex of the cell.

[Parameter]
public IgbGridCellIdentifier Id { get; set; }
[Parameter]
public bool Readonly { get; set; }

Indicates whether the cell is currently selected. It is false, if the sell is not selected, and true, if it is.

[Parameter]
public bool Selected { get; set; }

An optional title to display for the cell

[Parameter]
public object Title { get; set; }
public override string Type { get; }

Optional; An object representing the validation state of the cell. Whether it's valid or invalid, and if it has errors

[Parameter]
public IgbGridValidationState Validation { get; set; }

The current value of the cell.

[Parameter]
public object Value { get; set; }

The index of the column that the cell belongs to. It counts only the visible (not hidden) columns

[Parameter]
public double VisibleColumnIndex { get; set; }

The CSS width of the cell as a string.

[Parameter]
public string Width { get; set; }

Inherited from: BaseRendererElement

protected string _name

Inherited from: BaseRendererElement

protected Dictionary<Type, Dictionary<string, FieldInfo>> eventCallbacksCache

Inherited from: BaseRendererElement

protected string _cachedSerializedContent

Inherited from: BaseRendererElement

protected virtual void EnsureModulesLoaded()

Returns any

Inherited from: BaseRendererElement

protected override void BuildRenderTree(RenderTreeBuilder builder)

Parameters

  • builder: RenderTreeBuilder

Returns any

OnElementNameChanged(BaseRendererElement, string, string)

Section titled "OnElementNameChanged(BaseRendererElement, string, string)"

Inherited from: BaseRendererElement

protected void OnElementNameChanged(BaseRendererElement element, string oldName, string newName)

Parameters

  • element: BaseRendererElement
  • oldName: string
  • newName: string

Returns any

InvokeMethod(string, object[], string[], ElementReference[])

Section titled "InvokeMethod(string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected Task<object> InvokeMethod(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodSync(string, object[], string[], ElementReference[])

Section titled "InvokeMethodSync(string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected object InvokeMethodSync(string methodName, object[] arguments, string[] types, ElementReference[] nativeElements = null)

Parameters

  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodHelper(string, string, object[], string[], ElementReference[])

Section titled "InvokeMethodHelper(string, string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected Task<object> InvokeMethodHelper(string target, string methodName, object[] arguments, string[] types, ElementReference[] nativeElements)

Parameters

  • target: string
  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

InvokeMethodHelperSync(string, string, object[], string[], ElementReference[])

Section titled "InvokeMethodHelperSync(string, string, object[], string[], ElementReference[])"

Inherited from: BaseRendererElement

protected object InvokeMethodHelperSync(string target, string methodName, object[] arguments, string[] types, ElementReference[] nativeElements)

Parameters

  • target: string
  • methodName: string
  • arguments: object[]
  • types: string[]
  • nativeElements: ElementReference[]

Returns any

Inherited from: BaseRendererElement

protected bool IsPropDirty(string propertyName)

Parameters

  • propertyName: string

Returns any

Serialize(SerializationContext, string)

Section titled "Serialize(SerializationContext, string)"

Inherited from: BaseRendererElement

public void Serialize(SerializationContext context, string propertyName = null)

Parameters

  • context: SerializationContext
  • propertyName: string

Returns any

Inherited from: BaseRendererElement

public string Serialize()

Returns any

Inherited from: BaseRendererElement

protected void EnsureValid()

Returns any

SetResourceStringAsync(string, string, string)

Section titled "SetResourceStringAsync(string, string, string)"

Inherited from: BaseRendererElement

protected Task<object> SetResourceStringAsync(string grouping, string id, string value)

Parameters

  • grouping: string
  • id: string
  • value: string

Returns any

SetResourceStringAsync(string, string)

Section titled "SetResourceStringAsync(string, string)"

Inherited from: BaseRendererElement

protected Task<object> SetResourceStringAsync(string grouping, string json)

Parameters

  • grouping: string
  • json: string

Returns any

public double CalculateSizeToFit(object range)

Parameters

  • range: object

Returns any

Optional; A method definition to calculate the size of the cell to fit the content The method can be used to calculate the size of the cell with the longest content and resize all cells to that size

public Task<double> CalculateSizeToFitAsync(object range)

Parameters

  • range: object

Returns any

public override object FindByName(string name)

Parameters

  • name: string

Returns any

FromEventJson(BaseRendererControl, Dictionary<string, object>)

Section titled "FromEventJson(BaseRendererControl, Dictionary<string, object>)"
protected override void FromEventJson(BaseRendererControl control, Dictionary<string, object> args)

Parameters

  • control: BaseRendererControl
  • args: Dictionary

Returns any

public void SetEditMode(bool value)

Parameters

  • value: bool

Returns any

A method definition to start or end the edit mode of the cell. It takes a boolean value as an argument

public Task SetEditModeAsync(bool value)

Parameters

  • value: bool

Returns any

public void SetNativeElement(object element)

Parameters

  • element: object

Returns any

public Task SetNativeElementAsync(object element)

Parameters

  • element: object

Returns any

ToEventJson(BaseRendererControl, Dictionary<string, object>)

Section titled "ToEventJson(BaseRendererControl, Dictionary<string, object>)"
protected override void ToEventJson(BaseRendererControl control, Dictionary<string, object> args)

Parameters

  • control: BaseRendererControl
  • args: Dictionary

Returns any

public void Update(object value)

Parameters

  • value: object

Returns any

A method definition to update the value of the cell.

public Task UpdateAsync(object value)

Parameters

  • value: object

Returns any