Inheritance

object

Classes that extend this class.

Derived Classes
Implements
  • IComponent
  • IHandleEvent
  • IHandleAfterRender
  • JsonSerializable
  • IDisposable

constructor

public IgbColumn()

Returns IgbColumn

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; }

Sets/gets custom properties provided in additional template context.

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

Sets/gets whether the column header is included in autosize logic. Useful when template for a column header is sized based on parent, for example a default div. Default value is false.

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

Returns a reference to the bodyTemplate.

[Parameter]
public RenderFragment<IgbCellTemplateContext> BodyTemplate { get; set; }

Provides a means of setting BodyTemplate in the JavaScript environment.

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

Sets a conditional class selector of the column cells. Accepts an object literal, containing key-value pairs, where the key is the name of the CSS class, while the value is either a callback function that returns a boolean, or boolean, like so:

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

Provides a means of setting CellClasses in the JavaScript environment.

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

Sets conditional style properties on the column cells. Similar to ngStyle it accepts an object literal where the keys are the style properties and the value is the expression to be evaluated. As with cellClasses it accepts a callback function.

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

Provides a means of setting CellStyles in the JavaScript environment.

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

Column index where the current field should end. The amount of columns between colStart and colEnd will determine the amount of spanning columns to that field

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

Column index from which the field is starting.

[Parameter]
public double ColStart { get; set; }
[CascadingParameter(Name = "ColumnGroupParent")]
protected BaseRendererElement ColumnGroupParent { get; set; }

Sets/gets the data type of the column values. Default value is string.

[Parameter]
public GridColumnDataType DataType { get; set; }

Gets whether the hiding is disabled.

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

Gets whether the pinning is disabled.

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

Sets/gets the summary operands to exclude from display. Accepts an array of string keys representing the summary types to disable, such as 'Min', 'Max', 'Count' etc.

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

Gets whether the column is editable. Default value is false.

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

Pass optional properties for the default column editors.

[Parameter]
public IgbColumnEditorOptions EditorOptions { get; set; }

Returns a reference to the validation error template.

[Parameter]
public RenderFragment<IgbCellTemplateContext> ErrorTemplate { get; set; }

Provides a means of setting ErrorTemplate in the JavaScript environment.

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

Sets/gets the field value.

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

Returns a reference to the filterCellTemplate.

[Parameter]
public RenderFragment<IgbColumnTemplateContext> FilterCellTemplate { get; set; }

Provides a means of setting FilterCellTemplate in the JavaScript environment.

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

Sets/gets whether the column is filterable. Default value is true.

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

Sets/gets whether the column filtering should be case sensitive. Default value is true.

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

Gets the column filters.

[Parameter]
public IgbFilteringOperand Filters { get; set; }

Provides a means of setting Formatter in the JavaScript environment.

[Parameter]
public string FormatterScript { get; set; }
[CascadingParameter(Name = "GridBaseDirectiveParent")]
protected BaseRendererControl GridBaseDirectiveParent { get; set; }

Sets/gets whether the column is groupable. Default value is false.

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

Gets a value indicating whether the summary for the column is enabled.

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

Sets/gets the header value.

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

Sets/gets the class selector of the column header.

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

Sets/gets the class selector of the column group header.

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

Sets conditional style properties on the column header group wrapper. Similar to ngStyle it accepts an object literal where the keys are the style properties and the value is the expression to be evaluated.

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

Sets conditional style properties on the column header. Similar to ngStyle it accepts an object literal where the keys are the style properties and the value is the expression to be evaluated.

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

Returns a reference to the header template.

[Parameter]
public RenderFragment<IgbColumnTemplateContext> HeaderTemplate { get; set; }

Provides a means of setting HeaderTemplate in the JavaScript environment.

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

Gets whether the column is hidden.

[Parameter]
public bool Hidden { get; set; }
[CascadingParameter(Name = "HierarchicalGridParent")]
protected BaseRendererControl HierarchicalGridParent { get; set; }

Returns a reference to the inline editor template.

[Parameter]
public RenderFragment<IgbCellTemplateContext> InlineEditorTemplate { get; set; }

Provides a means of setting InlineEditorTemplate in the JavaScript environment.

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

Sets/gets the maximum width of the column.

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

Sets/gets whether to merge cells in this column.

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

Sets/gets the minimum width of the column. Default value is 88;

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

Sets/gets the parent column.

[Parameter]
[WCWidgetMemberName("Parent")]
public object ParentColumn { get; set; }

Gets whether the column is pinned.

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

Gets the pinning position of the column.

[Parameter]
public ColumnPinningPosition PinningPosition { get; set; }
[Parameter]
public IgbColumnPipeArgs PipeArgs { get; set; }

Sets/gets whether the column is resizable. Default value is false.

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

Row index where the current field should end. The amount of rows between rowStart and rowEnd will determine the amount of spanning rows to that field

[Parameter]
public double RowEnd { get; set; }
[CascadingParameter(Name = "RowIslandParent")]
protected BaseRendererElement RowIslandParent { get; set; }

Row index from which the field is starting.

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

Sets/gets whether the column is searchable. Default value is true.

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

Returns if the column is selectable.

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

Returns if the column is selected.

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

Gets the column sortStrategy.

[Parameter]
public IgbSortingStrategy SortStrategy { get; set; }

Sets/gets whether the column is sortable. Default value is false.

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

Sets/gets whether the column sorting should be case sensitive. Default value is true.

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

Gets the column summaries.

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

Provides a means of setting Summaries in the JavaScript environment.

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

Provides a means of setting SummaryFormatter in the JavaScript environment.

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

Returns a reference to the summaryTemplate.

[Parameter]
public RenderFragment<IgbSummaryTemplateContext> SummaryTemplate { get; set; }

Provides a means of setting SummaryTemplate in the JavaScript environment.

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

Sets/gets the title value.

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

Indicates whether the column will be visible when its parent is collapsed.

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

Gets the width of the column.

[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 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 void Autosize(bool byHeaderOnly = false)

Parameters

  • byHeaderOnly: bool

Returns any

Autosize the column to the longest currently visible cell value, including the header cell. byHeaderOnly Set if column should be autosized based only on the header content.

public Task AutosizeAsync(bool byHeaderOnly = false)

Parameters

  • byHeaderOnly: bool

Returns any

public void Dispose()

Returns any

protected override void EnsureModulesLoaded()

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 IgbColumn[] GetChildColumns()

Returns any

public Task<IgbColumn[]> GetChildColumnsAsync()

Returns any

public bool GetColumnLayoutChild()

Returns any

public Task<bool> GetColumnLayoutChildAsync()

Returns any

public IgbFilteringExpressionsTree GetFilteringExpressionsTree()

Returns any

public Task<IgbFilteringExpressionsTree> GetFilteringExpressionsTreeAsync()

Returns any

public double GetIndex()

Returns any

public Task<double> GetIndexAsync()

Returns any

public double GetLevel()

Returns any

public Task<double> GetLevelAsync()

Returns any

public IgbColumn GetTopLevelParent()

Returns any

public Task<IgbColumn> GetTopLevelParentAsync()

Returns any

public double GetVisibleIndex()

Returns any

public Task<double> GetVisibleIndexAsync()

Returns any

public void Move(double index)

Parameters

  • index: double

Returns any

Moves a column to the specified visible index. If passed index is invalid, or if column would receive a different visible index after moving, moving is not performed. If passed index would move the column to a different column group. moving is not performed.

public Task MoveAsync(double index)

Parameters

  • index: double

Returns any

protected override Task OnInitializedAsync()

Returns any

Pin(double, ColumnPinningPosition?)

Section titled "Pin(double, ColumnPinningPosition?)"
public bool Pin(double index = -1, ColumnPinningPosition? pinningPosition = null)

Parameters

  • index: double
  • pinningPosition: ColumnPinningPosition?

Returns any

PinAsync(double, ColumnPinningPosition?)

Section titled "PinAsync(double, ColumnPinningPosition?)"
public Task<bool> PinAsync(double index = -1, ColumnPinningPosition? pinningPosition = null)

Parameters

  • index: double
  • pinningPosition: ColumnPinningPosition?

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 bool Unpin(double index = -1)

Parameters

  • index: double

Returns any

Unpins the column and place it at the provided index in the unpinned area. Defaults to index 0 if not provided, or to the initial index in the unpinned area. Returns true if the column is successfully unpinned. Returns false if the column cannot be unpinned. Column cannot be unpinned if: Is already unpinned index argument is out of range

public Task<bool> UnpinAsync(double index = -1)

Parameters

  • index: double

Returns any

[Parameter]
public EventCallback<IgbComponentBoolValueChangedEventArgs> ExpandedChange { get; set; }
[Parameter]
public EventCallback<IgbComponentBoolValueChangedEventArgs> HiddenChange { get; set; }
[Parameter]
public EventCallback<IgbComponentBoolValueChangedEventArgs> PinnedChange { get; set; }
[Parameter]
public EventCallback<IgbComponentValueChangedEventArgs> WidthChange { get; set; }
[Parameter]
public string ExpandedChangeScript { get; set; }
[Parameter]
public string HiddenChangeScript { get; set; }
[Parameter]
public string PinnedChangeScript { get; set; }
[Parameter]
public string WidthChangeScript { get; set; }