Inheritance
object
ComponentBase
Classes that extend this class.
Derived Classes- IComponent
- IHandleEvent
- IHandleAfterRender
- JsonSerializable
- IDisposable
Constructors
Section titled "Constructors"constructor
public IgbColumn() Returns IgbColumn
Properties
Section titled "Properties"IgBlazor
Section titled "IgBlazor"Inherited from: BaseRendererElement
[Inject]
protected IIgniteUIBlazor IgBlazor { get; set; } IsComponentRooted
Section titled "IsComponentRooted"Inherited from: BaseRendererElement
public bool IsComponentRooted { get; } ParentTypeName
Section titled "ParentTypeName"Inherited from: BaseRendererElement
protected virtual string ParentTypeName { get; } UseDirectRender
Section titled "UseDirectRender"Inherited from: BaseRendererElement
protected virtual bool UseDirectRender { get; } ChildContent
Section titled "ChildContent"Inherited from: BaseRendererElement
[Parameter]
public RenderFragment ChildContent { get; set; } SupportsVisualChildren
Section titled "SupportsVisualChildren"Inherited from: BaseRendererElement
protected virtual bool SupportsVisualChildren { get; } Inherited from: BaseRendererElement
[Parameter]
public string Name { get; set; } Parent
Section titled "Parent"Inherited from: BaseRendererElement
public object Parent { get; } MethodTarget
Section titled "MethodTarget"Inherited from: BaseRendererElement
protected virtual string MethodTarget { get; } CurrParent
Section titled "CurrParent"Inherited from: BaseRendererElement
protected object CurrParent { get; } AdditionalTemplateContext
Section titled "AdditionalTemplateContext"Sets/gets custom properties provided in additional template context.
[Parameter]
public object AdditionalTemplateContext { get; set; } AutosizeHeader
Section titled "AutosizeHeader"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; } BodyTemplate
Section titled "BodyTemplate"Returns a reference to the bodyTemplate.
[Parameter]
public RenderFragment<IgbCellTemplateContext> BodyTemplate { get; set; } BodyTemplateScript
Section titled "BodyTemplateScript"Provides a means of setting BodyTemplate in the JavaScript environment.
[Parameter]
public string BodyTemplateScript { get; set; } CellClasses
Section titled "CellClasses"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; } CellClassesScript
Section titled "CellClassesScript"Provides a means of setting CellClasses in the JavaScript environment.
[Parameter]
public string CellClassesScript { get; set; } CellStyles
Section titled "CellStyles"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; } CellStylesScript
Section titled "CellStylesScript"Provides a means of setting CellStyles in the JavaScript environment.
[Parameter]
public string CellStylesScript { get; set; } ColEnd
Section titled "ColEnd"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; } ColStart
Section titled "ColStart"Column index from which the field is starting.
[Parameter]
public double ColStart { get; set; } ColumnGroupParent
Section titled "ColumnGroupParent"[CascadingParameter(Name = "ColumnGroupParent")]
protected BaseRendererElement ColumnGroupParent { get; set; } DataType
Section titled "DataType"Sets/gets the data type of the column values. Default value is string.
[Parameter]
public GridColumnDataType DataType { get; set; } DisableHiding
Section titled "DisableHiding"Gets whether the hiding is disabled.
[Parameter]
public bool DisableHiding { get; set; } DisablePinning
Section titled "DisablePinning"Gets whether the pinning is disabled.
[Parameter]
public bool DisablePinning { get; set; } DisabledSummaries
Section titled "DisabledSummaries"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; } Editable
Section titled "Editable"Gets whether the column is editable. Default value is false.
[Parameter]
public bool Editable { get; set; } EditorOptions
Section titled "EditorOptions"Pass optional properties for the default column editors.
[Parameter]
public IgbColumnEditorOptions EditorOptions { get; set; } ErrorTemplate
Section titled "ErrorTemplate"Returns a reference to the validation error template.
[Parameter]
public RenderFragment<IgbCellTemplateContext> ErrorTemplate { get; set; } ErrorTemplateScript
Section titled "ErrorTemplateScript"Provides a means of setting ErrorTemplate in the JavaScript environment.
[Parameter]
public string ErrorTemplateScript { get; set; } Field
Section titled "Field"Sets/gets the field value.
[Parameter]
public string Field { get; set; } FilterCellTemplate
Section titled "FilterCellTemplate"Returns a reference to the filterCellTemplate.
[Parameter]
public RenderFragment<IgbColumnTemplateContext> FilterCellTemplate { get; set; } FilterCellTemplateScript
Section titled "FilterCellTemplateScript"Provides a means of setting FilterCellTemplate in the JavaScript environment.
[Parameter]
public string FilterCellTemplateScript { get; set; } Filterable
Section titled "Filterable"Sets/gets whether the column is filterable. Default value is true.
[Parameter]
public bool Filterable { get; set; } FilteringIgnoreCase
Section titled "FilteringIgnoreCase"Sets/gets whether the column filtering should be case sensitive. Default value is true.
[Parameter]
public bool FilteringIgnoreCase { get; set; } Filters
Section titled "Filters"Gets the column filters.
[Parameter]
public IgbFilteringOperand Filters { get; set; } FormatterScript
Section titled "FormatterScript"Provides a means of setting Formatter in the JavaScript environment.
[Parameter]
public string FormatterScript { get; set; } GridBaseDirectiveParent
Section titled "GridBaseDirectiveParent"[CascadingParameter(Name = "GridBaseDirectiveParent")]
protected BaseRendererControl GridBaseDirectiveParent { get; set; } Groupable
Section titled "Groupable"Sets/gets whether the column is groupable. Default value is false.
[Parameter]
public bool Groupable { get; set; } HasSummary
Section titled "HasSummary"Gets a value indicating whether the summary for the column is enabled.
[Parameter]
public bool HasSummary { get; set; } Header
Section titled "Header"Sets/gets the header value.
[Parameter]
public string Header { get; set; } HeaderClasses
Section titled "HeaderClasses"Sets/gets the class selector of the column header.
[Parameter]
public string HeaderClasses { get; set; } HeaderGroupClasses
Section titled "HeaderGroupClasses"Sets/gets the class selector of the column group header.
[Parameter]
public string HeaderGroupClasses { get; set; } HeaderGroupStyles
Section titled "HeaderGroupStyles"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; } HeaderStyles
Section titled "HeaderStyles"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; } HeaderTemplate
Section titled "HeaderTemplate"Returns a reference to the header template.
[Parameter]
public RenderFragment<IgbColumnTemplateContext> HeaderTemplate { get; set; } HeaderTemplateScript
Section titled "HeaderTemplateScript"Provides a means of setting HeaderTemplate in the JavaScript environment.
[Parameter]
public string HeaderTemplateScript { get; set; } Hidden
Section titled "Hidden"Gets whether the column is hidden.
[Parameter]
public bool Hidden { get; set; } HierarchicalGridParent
Section titled "HierarchicalGridParent"[CascadingParameter(Name = "HierarchicalGridParent")]
protected BaseRendererControl HierarchicalGridParent { get; set; } InlineEditorTemplate
Section titled "InlineEditorTemplate"Returns a reference to the inline editor template.
[Parameter]
public RenderFragment<IgbCellTemplateContext> InlineEditorTemplate { get; set; } InlineEditorTemplateScript
Section titled "InlineEditorTemplateScript"Provides a means of setting InlineEditorTemplate in the JavaScript environment.
[Parameter]
public string InlineEditorTemplateScript { get; set; } MaxWidth
Section titled "MaxWidth"Sets/gets the maximum width of the column.
[Parameter]
public string MaxWidth { get; set; } Merge
Section titled "Merge"Sets/gets whether to merge cells in this column.
[Parameter]
public bool Merge { get; set; } MinWidth
Section titled "MinWidth"Sets/gets the minimum width of the column. Default value is 88;
[Parameter]
public string MinWidth { get; set; } ParentColumn
Section titled "ParentColumn"Sets/gets the parent column.
[Parameter]
[WCWidgetMemberName("Parent")]
public object ParentColumn { get; set; } Pinned
Section titled "Pinned"Gets whether the column is pinned.
[Parameter]
public bool Pinned { get; set; } PinningPosition
Section titled "PinningPosition"Gets the pinning position of the column.
[Parameter]
public ColumnPinningPosition PinningPosition { get; set; } PipeArgs
Section titled "PipeArgs"[Parameter]
public IgbColumnPipeArgs PipeArgs { get; set; } Resizable
Section titled "Resizable"Sets/gets whether the column is resizable. Default value is false.
[Parameter]
public bool Resizable { get; set; } RowEnd
Section titled "RowEnd"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; } RowIslandParent
Section titled "RowIslandParent"[CascadingParameter(Name = "RowIslandParent")]
protected BaseRendererElement RowIslandParent { get; set; } RowStart
Section titled "RowStart"Row index from which the field is starting.
[Parameter]
public double RowStart { get; set; } Searchable
Section titled "Searchable"Sets/gets whether the column is searchable. Default value is true.
[Parameter]
public bool Searchable { get; set; } Selectable
Section titled "Selectable"Returns if the column is selectable.
[Parameter]
public bool Selectable { get; set; } Selected
Section titled "Selected"Returns if the column is selected.
[Parameter]
public bool Selected { get; set; } SortStrategy
Section titled "SortStrategy"Gets the column sortStrategy.
[Parameter]
public IgbSortingStrategy SortStrategy { get; set; } Sortable
Section titled "Sortable"Sets/gets whether the column is sortable. Default value is false.
[Parameter]
public bool Sortable { get; set; } SortingIgnoreCase
Section titled "SortingIgnoreCase"Sets/gets whether the column sorting should be case sensitive. Default value is true.
[Parameter]
public bool SortingIgnoreCase { get; set; } Summaries
Section titled "Summaries"Gets the column summaries.
[Parameter]
public object Summaries { get; set; } SummariesScript
Section titled "SummariesScript"Provides a means of setting Summaries in the JavaScript environment.
[Parameter]
public string SummariesScript { get; set; } SummaryFormatterScript
Section titled "SummaryFormatterScript"Provides a means of setting SummaryFormatter in the JavaScript environment.
[Parameter]
public string SummaryFormatterScript { get; set; } SummaryTemplate
Section titled "SummaryTemplate"Returns a reference to the summaryTemplate.
[Parameter]
public RenderFragment<IgbSummaryTemplateContext> SummaryTemplate { get; set; } SummaryTemplateScript
Section titled "SummaryTemplateScript"Provides a means of setting SummaryTemplate in the JavaScript environment.
[Parameter]
public string SummaryTemplateScript { get; set; } Title
Section titled "Title"Sets/gets the title value.
[Parameter]
public string Title { get; set; } public override string Type { get; } VisibleWhenCollapsed
Section titled "VisibleWhenCollapsed"Indicates whether the column will be visible when its parent is collapsed.
[Parameter]
public bool VisibleWhenCollapsed { get; set; } Width
Section titled "Width"Gets the width of the column.
[Parameter]
public string Width { get; set; } Accessors
Section titled "Accessors"_name
Section titled "_name"Inherited from: BaseRendererElement
protected string _name eventCallbacksCache
Section titled "eventCallbacksCache"Inherited from: BaseRendererElement
protected Dictionary<Type, Dictionary<string, FieldInfo>> eventCallbacksCache _cachedSerializedContent
Section titled "_cachedSerializedContent"Inherited from: BaseRendererElement
protected string _cachedSerializedContent Methods
Section titled "Methods"BuildRenderTree(RenderTreeBuilder)
Section titled "BuildRenderTree(RenderTreeBuilder)"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
IsPropDirty(string)
Section titled "IsPropDirty(string)"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
Serialize()
Section titled "Serialize()"Inherited from: BaseRendererElement
public string Serialize() Returns any
EnsureValid()
Section titled "EnsureValid()"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
Autosize(bool)
Section titled "Autosize(bool)"public void Autosize(bool byHeaderOnly = false) Parameters
- byHeaderOnly:
bool
Returns any
AutosizeAsync(bool)
Section titled "AutosizeAsync(bool)"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
Dispose()
Section titled "Dispose()"public void Dispose() Returns any
EnsureModulesLoaded()
Section titled "EnsureModulesLoaded()"protected override void EnsureModulesLoaded() Returns any
FindByName(string)
Section titled "FindByName(string)"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
GetChildColumns()
Section titled "GetChildColumns()"public IgbColumn[] GetChildColumns() Returns any
GetChildColumnsAsync()
Section titled "GetChildColumnsAsync()"public Task<IgbColumn[]> GetChildColumnsAsync() Returns any
GetColumnLayoutChild()
Section titled "GetColumnLayoutChild()"public bool GetColumnLayoutChild() Returns any
GetColumnLayoutChildAsync()
Section titled "GetColumnLayoutChildAsync()"public Task<bool> GetColumnLayoutChildAsync() Returns any
GetFilteringExpressionsTree()
Section titled "GetFilteringExpressionsTree()"public IgbFilteringExpressionsTree GetFilteringExpressionsTree() Returns any
GetFilteringExpressionsTreeAsync()
Section titled "GetFilteringExpressionsTreeAsync()"public Task<IgbFilteringExpressionsTree> GetFilteringExpressionsTreeAsync() Returns any
GetIndex()
Section titled "GetIndex()"public double GetIndex() Returns any
GetIndexAsync()
Section titled "GetIndexAsync()"public Task<double> GetIndexAsync() Returns any
GetLevel()
Section titled "GetLevel()"public double GetLevel() Returns any
GetLevelAsync()
Section titled "GetLevelAsync()"public Task<double> GetLevelAsync() Returns any
GetTopLevelParent()
Section titled "GetTopLevelParent()"public IgbColumn GetTopLevelParent() Returns any
GetTopLevelParentAsync()
Section titled "GetTopLevelParentAsync()"public Task<IgbColumn> GetTopLevelParentAsync() Returns any
GetVisibleIndex()
Section titled "GetVisibleIndex()"public double GetVisibleIndex() Returns any
GetVisibleIndexAsync()
Section titled "GetVisibleIndexAsync()"public Task<double> GetVisibleIndexAsync() Returns any
Move(double)
Section titled "Move(double)"public void Move(double index) Parameters
- index:
double
Returns any
MoveAsync(double)
Section titled "MoveAsync(double)"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
OnInitializedAsync()
Section titled "OnInitializedAsync()"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
SetNativeElement(object)
Section titled "SetNativeElement(object)"public void SetNativeElement(object element) Parameters
- element:
object
Returns any
SetNativeElementAsync(object)
Section titled "SetNativeElementAsync(object)"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
Unpin(double)
Section titled "Unpin(double)"public bool Unpin(double index = -1) Parameters
- index:
double
Returns any
UnpinAsync(double)
Section titled "UnpinAsync(double)"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
Events
Section titled "Events"ExpandedChange
Section titled "ExpandedChange"[Parameter]
public EventCallback<IgbComponentBoolValueChangedEventArgs> ExpandedChange { get; set; } HiddenChange
Section titled "HiddenChange"[Parameter]
public EventCallback<IgbComponentBoolValueChangedEventArgs> HiddenChange { get; set; } PinnedChange
Section titled "PinnedChange"[Parameter]
public EventCallback<IgbComponentBoolValueChangedEventArgs> PinnedChange { get; set; } WidthChange
Section titled "WidthChange"[Parameter]
public EventCallback<IgbComponentValueChangedEventArgs> WidthChange { get; set; } ExpandedChangeScript
Section titled "ExpandedChangeScript"[Parameter]
public string ExpandedChangeScript { get; set; } HiddenChangeScript
Section titled "HiddenChangeScript"[Parameter]
public string HiddenChangeScript { get; set; } PinnedChangeScript
Section titled "PinnedChangeScript"[Parameter]
public string PinnedChangeScript { get; set; } WidthChangeScript
Section titled "WidthChangeScript"[Parameter]
public string WidthChangeScript { get; set; }