Defines the fluent API for configuring GridGroupableSettings
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class GridGroupableSettingsBuilder<T> where T : class
Inheritance: objectGridGroupableSettingsBuilder<T>
Inherited Members
Constructors
GridGroupableSettingsBuilder method.
public GridGroupableSettingsBuilder(GridGroupableSettings<T> container)
Properties
Gets or sets the Container.
protected GridGroupableSettings<T> Container { get; }
Methods
When set to false grouping is considered disabled.
public GridGroupableSettingsBuilder<T> Enabled(bool value)
The value for Enabled
Returns:GridGroupableSettingsBuilder<T>
Returns the current GridGroupableSettingsBuilder<T> instance.
Configures messages.
public GridGroupableSettingsBuilder<T> Messages(Action<GridGroupableMessagesBuilder> configurator)
GridGroupableSettingsBuilder<T>
The current GridGroupableSettingsBuilder<T> instance for method chaining.
When enabled the group footer rows will remain visible when the corresponding group is collapsed.
public GridGroupableSettingsBuilder<T> ShowFooter()
GridGroupableSettingsBuilder<T>
Returns the current GridGroupableSettingsBuilder<T> instance.
When enabled the group footer rows will remain visible when the corresponding group is collapsed.
public GridGroupableSettingsBuilder<T> ShowFooter(bool value)
The value for ShowFooter
Returns:GridGroupableSettingsBuilder<T>
Returns the current GridGroupableSettingsBuilder<T> instance.
Sets the sort configuration when grouping.
public GridGroupableSettingsBuilder<T> Sort(Action<GridGroupableSortSettingsBuilder<T>> configurator)
The GridGroupableSortSettingsBuilder<T> for the sort setting.
Returns:GridGroupableSettingsBuilder<T>
Returns the current instance of GridGroupableSettingsBuilder<T> .
When enabled the group footer rows will stick to the bottom of the scrollable content area while scrolling through the group's data rows. Requires the scrollable option to be enabled. The columns must have a groupFooterTemplate defined.
public GridGroupableSettingsBuilder<T> StickyFooters()
GridGroupableSettingsBuilder<T>
Returns the current GridGroupableSettingsBuilder<T> instance.
When enabled the group footer rows will stick to the bottom of the scrollable content area while scrolling through the group's data rows. Requires the scrollable option to be enabled. The columns must have a groupFooterTemplate defined.
public GridGroupableSettingsBuilder<T> StickyFooters(bool value)
The value for StickyFooters
Returns:GridGroupableSettingsBuilder<T>
Returns the current GridGroupableSettingsBuilder<T> instance.
When enabled the group header rows will stick to the top of the scrollable content area while scrolling through the group's data rows. Requires the scrollable option to be enabled.
public GridGroupableSettingsBuilder<T> StickyHeaders()
GridGroupableSettingsBuilder<T>
Returns the current GridGroupableSettingsBuilder<T> instance.
When enabled the group header rows will stick to the top of the scrollable content area while scrolling through the group's data rows. Requires the scrollable option to be enabled.
public GridGroupableSettingsBuilder<T> StickyHeaders(bool value)
The value for StickyHeaders
Returns:GridGroupableSettingsBuilder<T>
Returns the current GridGroupableSettingsBuilder<T> instance.