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 TreeListColumnGroupBuilder<T> class.
public TreeListColumnGroupBuilder(TreeListColumnGroup container, ViewContext viewContext, IUrlGenerator urlGenerator)
The container.
viewContextViewContexturlGeneratorIUrlGeneratorProperties
Gets or sets the column.
public TreeListColumnGroup 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:Sets the HTML attributes applied to the header cell of the column.
public TreeListColumnGroupBuilder<T> HeaderHtmlAttributes(IDictionary<string, object> attributes)
The attributes.
Returns:Sets the HTML attributes applied to the header cell of the column.
public TreeListColumnGroupBuilder<T> HeaderHtmlAttributes(object attributes)
The attributes.
Returns: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:Hides a column. By default all columns are not hidden. Hidden columns are rendered in the output HTML but are hidden.
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)
Enables or disables the hidden option
Returns: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)
Enables or disables the lockable option
Returns:Makes the column static. By default all columns are not locked.
Makes the column static or not. By default all columns are not locked.
public TreeListColumnGroupBuilder<T> Locked(bool value)
Enables or disables the locked option
Returns: