Documentation

setOnchange

\Bitrix\Main\Grid\Panel\Snippet\Button public
\Bitrix\Main\Grid\Panel\Snippet\Button::setOnchange(
 \Bitrix\Main\Grid\Panel\Snippet\Onchange $onchange
);

Method sets actions to be executed when clicking on button. Returns object of class Snippet\Button.

Parameters

ParameterDescriptionVersion
$onchangeObject of class Onchange, containing actions.

Example



© «Bitrix24», 2001-2024
Up