alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class TreeGridColumnChooserSettings

    Configures Tree Grid column chooser settings.

    Inheritance
    object
    ComponentBase
    OwningComponentBase
    SfOwningComponentBase
    TreeGridColumnChooserSettings
    Implements
    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    Inherited Members
    ComponentBase.Assets
    ComponentBase.AssignedRenderMode
    ComponentBase.BuildRenderTree(RenderTreeBuilder)
    ComponentBase.DispatchExceptionAsync(Exception)
    ComponentBase.InvokeAsync(Action)
    ComponentBase.InvokeAsync(Func<Task>)
    ComponentBase.OnAfterRender(bool)
    ComponentBase.OnAfterRenderAsync(bool)
    ComponentBase.OnInitialized()
    ComponentBase.OnParametersSet()
    ComponentBase.OnParametersSetAsync()
    ComponentBase.RendererInfo
    ComponentBase.SetParametersAsync(ParameterView)
    ComponentBase.ShouldRender()
    ComponentBase.StateHasChanged()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    OwningComponentBase.Dispose(bool)
    OwningComponentBase.IsDisposed
    OwningComponentBase.ScopedServices
    Namespace: Syncfusion.Blazor.TreeGrid
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class TreeGridColumnChooserSettings : SfOwningComponentBase, IComponent, IHandleEvent, IHandleAfterRender, IDisposable

    Constructors

    TreeGridColumnChooserSettings()

    Declaration
    public TreeGridColumnChooserSettings()

    Properties

    AllowTextWrap

    Gets or sets a value indicating whether text content in the TreeGrid column chooser will wrap to the next line when it exceeds the cell width.

    Declaration
    [Parameter]
    public bool AllowTextWrap { get; set; }
    Property Value
    Type Description
    bool

    A bool indicating whether text wrapping is enabled in the column chooser. The default value is false.

    Remarks

    When true, long text within the column chooser will automatically wrap to fit the available cell width, improving readability for columns with lengthy names.

    This setting only affects the display within the column chooser dialog and does not impact text wrapping in the main TreeGrid. For TreeGrid-wide text wrapping, use TreeGridTextWrapSettings.

    FooterTemplate

    Gets or sets the custom footer content for the ColumnChooser.

    Declaration
    [Parameter]
    public RenderFragment<object> FooterTemplate { get; set; }
    Property Value
    Type Description
    RenderFragment<object>

    A RenderFragment<TValue> representing the footer template content.

    Remarks

    The parameters passed to the templates can be accessed using an implicit parameter named context. The context is of type TValue of the grid.

    Operator

    Gets or sets the search operator for Column Chooser.

    Declaration
    [Parameter]
    public Operator Operator { get; set; }
    Property Value
    Type Description
    Operator

    One of the Operator enumeration values that specifies the search operator. The default is Operator.StartsWith.

    Template

    Gets or sets the custom content for the ColumnChooser.

    Declaration
    [Parameter]
    public RenderFragment<object> Template { get; set; }
    Property Value
    Type Description
    RenderFragment<object>

    A RenderFragment<TValue> representing the template for custom content.

    Remarks

    The parameters passed to the templates can be accessed using an implicit parameter named context. The context is of type TValue of the tree grid.

    Methods

    OnInitializedAsync()

    Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree. Override this method if you will perform an asynchronous operation and want the component to refresh when that operation is completed.

    Declaration
    protected override Task OnInitializedAsync()
    Returns
    Type Description
    Task

    A System.Threading.Tasks.Task representing any asynchronous operation.

    Overrides
    ComponentBase.OnInitializedAsync()

    Implements

    IComponent
    IHandleEvent
    IHandleAfterRender
    IDisposable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved