• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/gridvariationform.php
  • Класс: BitrixCatalogComponentGridVariationForm
  • Вызов: GridVariationForm::getGridSupportedAjaxColumns
public function getGridSupportedAjaxColumns(): array
{
	$columns = array_fill_keys(
		array_column($this->getGridHeaders(), 'id'),
		true
	);

	foreach ($this->getIblockPropertiesDescriptions() as $property)
	{
		$name = $property['name'];

		// files are not supported because new files are not sent in the request
		$isFile = $property['settings']['PROPERTY_TYPE'] === PropertyTable::TYPE_FILE;
		if ($isFile)
		{
			unset($columns[$name]);
		}
	}

	return array_keys($columns);
}