Defines the fluent API for configuring the Kendo UI PivotGrid for ASP.NET MVC events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class PivotGridEventBuilder : EventBuilder
Inheritance: objectEventBuilderPivotGridEventBuilder
Inherited Members
Constructors
Initializes a new instance of the PivotGridEventBuilder class.
public PivotGridEventBuilder(IDictionary<string, object> events)
The PivotGrid event handlers.
Methods
Defines the handler of the CollapseMember client-side event. Fired before column or row field is collapsed.The event handler function context (available via the this keyword) will be set to the widget instance.
public PivotGridEventBuilder CollapseMember(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PivotGridEventBuilder .
Defines the handler of the CollapseMember client-side event. Fired before column or row field is collapsed.The event handler function context (available via the this keyword) will be set to the widget instance.
public PivotGridEventBuilder CollapseMember(string handler)
The name of the JavaScript function that will handle the CollapseMember event.
Returns:Returns the current instance of PivotGridEventBuilder .
Defines the handler of the DataBinding client-side event. Fired before the widget binds to its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public PivotGridEventBuilder DataBinding(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PivotGridEventBuilder .
Defines the handler of the DataBinding client-side event. Fired before the widget binds to its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public PivotGridEventBuilder DataBinding(string handler)
The name of the JavaScript function that will handle the DataBinding event.
Returns:Returns the current instance of PivotGridEventBuilder .
Defines the handler of the DataBound client-side event. Fired after the widget is bound to the data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public PivotGridEventBuilder DataBound(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PivotGridEventBuilder .
Defines the handler of the DataBound client-side event. Fired after the widget is bound to the data from its data source.The event handler function context (available via the this keyword) will be set to the widget instance.
public PivotGridEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Returns the current instance of PivotGridEventBuilder .
Defines the handler of the ExcelExport client-side event. Fired when saveAsExcel method is called.
public PivotGridEventBuilder ExcelExport(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PivotGridEventBuilder .
Defines the handler of the ExcelExport client-side event. Fired when saveAsExcel method is called.
public PivotGridEventBuilder ExcelExport(string handler)
The name of the JavaScript function that will handle the ExcelExport event.
Returns:Returns the current instance of PivotGridEventBuilder .
Defines the handler of the ExpandMember client-side event. Fired before column or row field is expanded.The event handler function context (available via the this keyword) will be set to the widget instance.
public PivotGridEventBuilder ExpandMember(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PivotGridEventBuilder .
Defines the handler of the ExpandMember client-side event. Fired before column or row field is expanded.The event handler function context (available via the this keyword) will be set to the widget instance.
public PivotGridEventBuilder ExpandMember(string handler)
The name of the JavaScript function that will handle the ExpandMember event.
Returns:Returns the current instance of PivotGridEventBuilder .
Defines the handler of the PdfExport client-side event. Fired when the user clicks the "Export to PDF" toolbar button.
public PivotGridEventBuilder PdfExport(Func<object, object> handler)
The handler code wrapped in a text tag.
Returns:Returns the current instance of PivotGridEventBuilder .
Defines the handler of the PdfExport client-side event. Fired when the user clicks the "Export to PDF" toolbar button.
public PivotGridEventBuilder PdfExport(string handler)
The name of the JavaScript function that will handle the PdfExport event.
Returns:Returns the current instance of PivotGridEventBuilder .