Defines the fluent API for configuring TreeListColumnGroupBuilder
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class TreeListColumnGroupBuilder<T> where T : class
Inheritance: objectTreeListColumnGroupBuilder<T>
Inherited Members
Constructors
Initializes a new instance of the TreeListFilterableSettingsBuilder<T> class.
public TreeListColumnGroupBuilder(TreeListColumnGroup<T> column)
The column.
Properties
Gets or sets the column.
public TreeListColumnGroup<T> Column { get; }
The column.
Methods
The columns configuration for the TreeListColumnGroupBuilder<T>
public TreeListColumnGroupBuilder<T> Columns(Action<TreeListColumnFactory<T>> configurator)
The action defining the configuration.
Returns:Returns the current TreeListColumnGroupBuilder<T> instance.
Sets the HTML attributes applied to the header cell of the column.
public TreeListColumnGroupBuilder<T> HeaderHtmlAttributes(IDictionary<string, object> attributes)
The attributes.
Returns:Returns the current TreeListColumnGroupBuilder<T> instance.
Sets the HTML attributes applied to the header cell of the column.
public TreeListColumnGroupBuilder<T> HeaderHtmlAttributes(object attributes)
The attributes.
Returns:Returns the current TreeListColumnGroupBuilder<T> instance.
Sets the header template for the column. If sorting is enabled, the template content wrapper must have a k-link CSS class.
public TreeListColumnGroupBuilder<T> HeaderTemplate(string template)
The string defining the template.
Returns:Returns the current TreeListColumnGroupBuilder<T> instance.
Hides a column. By default all columns are not hidden. Hidden columns are rendered in the output HTML but are hidden.
public TreeListColumnGroupBuilder<T> Hidden()
Returns the current TreeListColumnGroupBuilder<T> instance.
Makes the column hidden or not. By default all columns are not hidden. Hidden columns are rendered in the output HTML but are hidden.
public TreeListColumnGroupBuilder<T> Hidden(bool value)
Returns the current TreeListColumnGroupBuilder<T> instance.
If set to false the column will remain in the side of the grid into which its own locked configuration placed it.
public TreeListColumnGroupBuilder<T> Lockable(bool value)
Returns the current TreeListColumnGroupBuilder<T> instance.
Makes the column static. By default all columns are not locked.
public TreeListColumnGroupBuilder<T> Locked()
Returns the current TreeListColumnGroupBuilder<T> instance.
Makes the column static or not. By default all columns are not locked.
public TreeListColumnGroupBuilder<T> Locked(bool value)
Returns the current TreeListColumnGroupBuilder<T> instance.
Sets the title displayed in the header of the column.
public TreeListColumnGroupBuilder<T> Title(string text)
The text.
Returns:Returns the current TreeListColumnGroupBuilder<T> instance.