PivotGridV2EventBuilder
Methods
DataBinding(System.String)
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.
For more information see DataBinding event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the DataBinding event.
RETURNS
Returns the current instance of PivotGridV2EventBuilder .
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.DataBinding("onDataBinding"))
)
DataBinding(System.Func)
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.
For more information see DataBinding event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of PivotGridV2EventBuilder .
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.DataBinding(@<text>
function(e) {
// Handle the DataBinding event inline.
}
</text>)
)
)
DataBound(System.String)
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.
For more information see DataBound event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the DataBound event.
RETURNS
Returns the current instance of PivotGridV2EventBuilder .
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.DataBound("onDataBound"))
)
DataBound(System.Func)
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.
For more information see DataBound event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of PivotGridV2EventBuilder .
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.DataBound(@<text>
function(e) {
// Handle the DataBound event inline.
}
</text>)
)
)
ExpandMember(System.String)
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.
For more information see ExpandMember event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the ExpandMember event.
RETURNS
Returns the current instance of PivotGridV2EventBuilder .
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.ExpandMember("onExpandMember"))
)
ExpandMember(System.Func)
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.
For more information see ExpandMember event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of PivotGridV2EventBuilder .
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.ExpandMember(@<text>
function(e) {
// Handle the ExpandMember event inline.
}
</text>)
)
)
CollapseMember(System.String)
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.
For more information see CollapseMember event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the CollapseMember event.
RETURNS
Returns the current instance of PivotGridV2EventBuilder .
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.CollapseMember("onCollapseMember"))
)
CollapseMember(System.Func)
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.
For more information see CollapseMember event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of PivotGridV2EventBuilder .
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.CollapseMember(@<text>
function(e) {
// Handle the CollapseMember event inline.
}
</text>)
)
)
PdfExport(System.String)
Defines the handler of the PdfExport client-side event. Fired when the user clicks the "Export to PDF" toolbar button.
For more information see PdfExport event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the PdfExport event.
RETURNS
Returns the current instance of PivotGridV2EventBuilder .
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.PdfExport("onPdfExport"))
)
PdfExport(System.Func)
Defines the handler of the PdfExport client-side event. Fired when the user clicks the "Export to PDF" toolbar button.
For more information see PdfExport event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
RETURNS
Returns the current instance of PivotGridV2EventBuilder .
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.PdfExport(@<text>
function(e) {
// Handle the PdfExport event inline.
}
</text>)
)
)