3 declare(strict_types=1);
    21     $factory = $DIC->ui()->factory();
    22     $renderer = $DIC->ui()->renderer();
    23     $request = $DIC->http()->request();
    26         public function getRows(
    28             array $visible_column_ids,
    32             ?array $additional_parameters
    37         public function getTotalRowCount(?array $filter_data, ?array $additional_parameters): ?
int    43     $table = $factory->table()->data(
    46             'col1' => $factory->table()->column()->text(
'Column 1')
    47                 ->withIsSortable(
false),
    48             'col2' => $factory->table()->column()->number(
'Column 2')
    49                 ->withIsSortable(
false),
    54     return $renderer->render($table->withRequest($request));
 
Both the subject and the direction need to be specified when expressing an order. ...
 
without_data()
Example showing a data table without any data and hence no entries, which will automatically display ...
 
A simple class to express a range of whole positive numbers.