Group actions:
Id Name Status
481 Pro Matador Stars active
482 Ultimate Porn Invaders active
483 Mushy Mosquito active
484 Ninja Unicycle Park active
485 Glowing Penguin Uprising deleted
486 Drug-Induced Football Uprising deleted
487 Muddy Macaque deleted
488 Maniac Castlevania Slaughter deleted
489 3D Amish Solid active
490 Fantastic Flatworm deleted
491 Poor Pony inactive
492 8-Bit Paintball Fiesta active
493 Handsome Hamster deleted
494 Ashamed Ape active
495 Mexican Bow Hunter Horde deleted
496 Lair of the Devil Syndrome deleted
497 Metal Robot - Hot Pursuit deleted
498 Enchanting Earthworm inactive
499 Tactical Makeover Mania deleted
500 Bloody Buffalo deleted
( Items: 481 - 500 from 1020 )
  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;
}