19declare(strict_types=1);
43 $factory =
$DIC->ui()->factory();
45 $request =
$DIC->http()->request();
48 public function getRows(
50 array $visible_column_ids,
53 mixed $additional_viewcontrol_data,
55 mixed $additional_parameters
60 public function getTotalRowCount(
61 mixed $additional_viewcontrol_data,
63 mixed $additional_parameters
69 $table = $factory->table()->data(
73 'col1' => $factory->table()->column()->text(
'Column 1')
74 ->withIsSortable(
false),
75 'col2' => $factory->table()->column()->number(
'Column 2')
76 ->withIsSortable(
false),
80 return $renderer->render($table->withRequest($request));
Both the subject and the direction need to be specified when expressing an order.
A simple class to express a naive range of whole positive numbers.