$APPLICATION->includeComponent(
"bitrix:main.ui.filter",
"",
[
"FILTER_ID" => "DEMO_FILTER",
"GRID_ID" => "DEMO_GRID",
// ...
]
);
let filter = BX.Main.filterManager.getById('ИД ФИЛЬТРА');
let values = filter.getFilterFieldsValues();
values['НАЗВАНИЕ ПОЛЯ'] = 'Значение для фильтра ';
filter.getApi().setFields(values);
filter.getApi().apply();