Group actions:
Id Name Status
561 Crazy Pogo Bastards deleted
562 Fantastic Turtle Odyssey deleted
563 Naughty Unicorn Inferno inactive
564 Yawning Yacare deleted
565 Cheerful Camel active
566 Musical Thief Boxing deleted
567 Lucky Lion deleted
568 Combative Chicken inactive
569 Gothic Mall Story deleted
570 Paranoid College Fiesta inactive
571 Defiant Dogfish active
572 Blue Barracuda deleted
573 Legend of Blade - The Dark Project deleted
574 Glorious Goose deleted
575 Envious Eel deleted
576 Innocent Iguana deleted
577 Profane Animal in the Outback deleted
578 Unbelievable Moped Jamboree inactive
579 Sleepy Swiftlet active
580 Nasty Barbarian vs. Capcom active
( Items: 561 - 580 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;
}