Group actions:
Id Name Status
81 Selfish Snail active
82 Prehistoric Toon Interactive active
83 Disturbed Dunlin deleted
84 Itchy Impala deleted
85 Good Gnu deleted
86 Dance Dance Jazz Park deleted
87 Fisher Price Bingo Man inactive
88 Bewildering Batman Revenge active
89 Political Scorched Earth Syndrome inactive
90 Naughty Narwhal deleted
91 Xenophobic Xenomorph inactive
92 Cooperative Camel inactive
93 Famous Falcon inactive
94 Samurai Dance Fiasco deleted
95 Terrible Teira deleted
96 Robot Dating Force deleted
97 Better Butterfly deleted
98 Yellowed Yacare active
99 Cruel Crayfish deleted
100 Morbidly Obese Maze Playhouse inactive
( Items: 81 - 100 from 1016 )
  See the code below 👇 or see GitHub
public function createComponentGrid(): DataGrid
{
	$grid = new DataGrid();

	$grid->setDataSource($this->dibiConnection->select('*')->from('users'));

	$grid->setItemsPerPageList([20, 50, 100]);

	$grid->addColumnNumber('id', 'Id')
		->setAlign('start')
		->setSortable();

	$grid->addColumnText('name', 'Name')
		->setSortable();

	$grid->addColumnText('email', 'E-mail')
		->setSortable();

	$grid->addColumnDateTime('status', 'Status');

	$grid->addGroupAction(
		'Change user status',
		[
			'active' => 'Active',
			'inactive' => 'Inactive',
			'deleted' => 'Deleted',
		]
	)->onSelect[] = [$this, 'groupChangeStatus'];

	$grid->addGroupAction('Send', [
		'john' => 'John',
		'joe' => 'Joe',
		'frank' => 'Frank',
	])->onSelect[] = [$this, 'groupSend'];

	$grid->addGroupTextAction('Add note')->onSelect[] = [$this, 'groupAddNote'];

	$grid->addGroupAction('Delete')->onSelect[] = [$this, 'groupDelete'];

	$grid->addGroupButtonAction('Say hello')->onClick[] = [$this, 'sayHello'];

	return $grid;
}