New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

OnCommand

This event will be raised when client command is executed in RadPivotGrid. The command can be canceled.

 

Fired byRadPivotGrid
Argumentsget_commandArgument() - the command argument(s) value(s). get_commandName() -the name of the command which is about to be processed. get_cancel() - returns a boolean indicating whether the event is cancelled. set_cancel(bool) - indicates whether the event should be cancelled.
Can be canceledYes

Example:

JavaScript
<script type="text/javascript">
	function oncommand(sender, eventArgs) {
		alert("RadPivotGrid fired a command with name: " + eventArgs.get_commandName() + " and argument: " + eventArgs.get_commandArgument());
	}
</script>
Not finding the help you need?
Contact Support