getSetting('withFilter') ?? true){?>
objBitrixApplication->IncludeComponent( 'bitrix:main.ui.filter', '', [ "GRID_ID" => $this->arIds['grid'], "FILTER_ID" => $this->arIds['filter'], // 'FILTER' => $this->arFieldsFilter, 'FILTER_PRESETS' => $this->getSetting('FILTER_PRESETS') ?? [], // 'ENABLE_LIVE_SEARCH' => false, 'ENABLE_LABEL' => true, // "AJAX_MODE" => "N", "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_HISTORY" => "N", // "CACHE_TYPE" => "N", "CACHE_TIME" => 0, ], false );?>
objBitrixApplication->IncludeComponent( 'bitrix:main.ui.grid', '', [ "GRID_ID" => $this->arIds['grid'], "FILTER_ID" => $this->arIds['filter'], // "COLUMNS" => $this->arFields, "SORT" => $this->arSort, "ROWS" => $this->arItems, // "TOTAL_ROWS_COUNT" => $this->countAllItems, // "SHOW_ROW_CHECKBOXES" => false, "SHOW_CHECK_ALL_CHECKBOXES" => false, // "AJAX_MODE" => "N", "AJAX_ID" => 'grid_wrapper_' . $this->arIds['grid'], "AJAX_OPTION_JUMP" => "N", "AJAX_OPTION_HISTORY" => "N", // "ALLOW_SORT" => true, "ALLOW_FILTER" => true, // "SHOW_ROW_ACTIONS_MENU" => true, "SHOW_GRID_SETTINGS_MENU" => true, "SHOW_NAVIGATION_PANEL" => $this->getSetting('withPagination') ?? true, // 'SHOW_PAGINATION' => $this->getSetting('withPagination') ?? true, "ALLOW_PAGINATION" => $this->getSetting('withPagination') ?? true, "NAV_OBJECT" => $this->objNavigation, 'SHOW_PAGE_SIZE' => $this->getSetting('withPagination') ?? true, 'PAGE_SIZES' => [ ['NAME' => '2', 'VALUE' => '2'], ['NAME' => '20', 'VALUE' => '20'], ['NAME' => '50', 'VALUE' => '50'], ['NAME' => '100', 'VALUE' => '100'], ], // "CACHE_TYPE" => "N", "CACHE_TIME" => 0, ], false, ['HIDE_ICONS' => 'Y'] );?>
arData['arHelpNotes'] ?? [])) {?>

[ 'GROUPS' => [ [ 'ITEMS' => [ [ 'TYPE' => \Bitrix\Main\Grid\Panel\Types::BUTTON, 'ID' => 'delete', 'TEXT' => 'Удалить', 'ONCHANGE' => [ [ 'ACTION' => \Bitrix\Main\Grid\Panel\Actions::CALLBACK, 'DATA' => [ ['JS' => "MyGridDeleteFunction()"] // Ваша JS-функция для обработки (например, AJAX) ] ] ], ], [ 'TYPE' => \Bitrix\Main\Grid\Panel\Types::DROPDOWN, 'ID' => 'set-type', 'ITEMS' => [ ['VALUE' => '', 'NAME' => '- Выбрать -'], ['VALUE' => 'plus', 'NAME' => 'Поступление'], ['VALUE' => 'minus', 'NAME' => 'Списание'], ], 'ONCHANGE' => [ [ 'ACTION' => \Bitrix\Main\Grid\Panel\Actions::CALLBACK, 'DATA' => [ ['JS' => "onDropdownChangeHandler(this.value)"] ] ] ] ] ] ] ] ], // */ ?>