New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring the Kendo UI PivotGrid for ASP.NET MVC events.

Definition

Constructors

Initializes a new instance of the PivotGridEventBuilder class.

C#
public PivotGridEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

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.

C#
public PivotGridEventBuilder CollapseMember(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotGridEventBuilder

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.

C#
public PivotGridEventBuilder CollapseMember(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the CollapseMember event.

Returns:

PivotGridEventBuilder

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.

C#
public PivotGridEventBuilder DataBinding(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotGridEventBuilder

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.

C#
public PivotGridEventBuilder DataBinding(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the DataBinding event.

Returns:

PivotGridEventBuilder

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.

C#
public PivotGridEventBuilder DataBound(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotGridEventBuilder

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.

C#
public PivotGridEventBuilder DataBound(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the DataBound event.

Returns:

PivotGridEventBuilder

Returns the current instance of PivotGridEventBuilder .

Defines the handler of the ExcelExport client-side event. Fired when saveAsExcel method is called.

C#
public PivotGridEventBuilder ExcelExport(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotGridEventBuilder

Returns the current instance of PivotGridEventBuilder .

Defines the handler of the ExcelExport client-side event. Fired when saveAsExcel method is called.

C#
public PivotGridEventBuilder ExcelExport(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the ExcelExport event.

Returns:

PivotGridEventBuilder

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.

C#
public PivotGridEventBuilder ExpandMember(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotGridEventBuilder

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.

C#
public PivotGridEventBuilder ExpandMember(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the ExpandMember event.

Returns:

PivotGridEventBuilder

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.

C#
public PivotGridEventBuilder PdfExport(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

PivotGridEventBuilder

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.

C#
public PivotGridEventBuilder PdfExport(string handler)
Parameters:handlerstring

The name of the JavaScript function that will handle the PdfExport event.

Returns:

PivotGridEventBuilder

Returns the current instance of PivotGridEventBuilder .