CakeFest 2024: The Official CakePHP Conference

Vtiful\Kernel\Excel::autoFilter

(PECL xlswriter >= 1.2.1)

Vtiful\Kernel\Excel::autoFilterДобавить автофильтр

Описание

public Vtiful\Kernel\Excel::autoFilter(string $scope)

Добавление автофильтра к листу.

Список параметров

scope

Начальная и конечная строка координат ячейки.

Возвращаемые значения

Экземпляр Vtiful\Kernel\Excel

Примеры

Пример #1 Пример использования

<?php
$config
= [
'path' => './tests'
];

$fileObject = new \Vtiful\Kernel\Excel($config);

$file = $excel->fileName('test.xlsx')
->
header(['name', 'age'])
->
data($data)
->
autoFilter('A1:B11') // автофильтр
->output();
?>
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top