PivotGridV2EventBuilder
Methods
DataBinding(System.String)
Defines the handler of the DataBinding client-side event. Fires before the PivotGridV2 binds to its DataSource.
For more information see DataBinding event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the DataBinding event.
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.DataBinding("onDataBinding"))
)
DataBinding(System.Func)
Defines the handler of the DataBinding client-side event. Fires before the PivotGridV2 binds to its DataSource.
For more information see DataBinding event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
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. Fires after the PivotGridV2 is bound to the data from its DataSource.
For more information see DataBound event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the DataBound event.
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.DataBound("onDataBound"))
)
DataBound(System.Func)
Defines the handler of the DataBound client-side event. Fires after the PivotGridV2 is bound to the data from its DataSource.
For more information see DataBound event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
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. Fires before a column or row field is expanded.
For more information see ExpandMember event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the ExpandMember event.
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.ExpandMember("onExpandMember"))
)
ExpandMember(System.Func)
Defines the handler of the ExpandMember client-side event. Fires before a column or row field is expanded.
For more information see ExpandMember event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
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. Fires before a column or row field is collapsed.
For more information see CollapseMember event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the CollapseMember event.
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.CollapseMember("onCollapseMember"))
)
CollapseMember(System.Func)
Defines the handler of the CollapseMember client-side event. Fires before a column or row field is collapsed.
For more information see CollapseMember event.
Parameters
handler - System.Func<Object,Object>
The handler code wrapped in a text tag.
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. Fires 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.
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.PdfExport("onPdfExport"))
)
PdfExport(System.Func)
Defines the handler of the PdfExport client-side event. Fires 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.
Example
@(Html.Kendo().PivotGridV2()
.Name("pivotgrid")
.Events(events => events.PdfExport(@<text>
function(e) {
// Handle the PdfExport event inline.
}
</text>)
)
)