Group actions:
Id Name Status
681 Phoenix Wright: Boxing Princess deleted
682 We Love Desert Blaster deleted
683 Intense Balloon Tale deleted
684 Thoughtful Toad inactive
685 Successful Stag active
686 Sore Starling deleted
687 Zombie Spelling on the Oregon Trail active
688 Generic Jackhammer of Love deleted
689 Tired Tapir deleted
690 Eco-Friendly Helicopter Pimps deleted
691 The Simpsons' Theme Park in Busytown deleted
692 Distinguished Cardboard vs. Capcom deleted
693 Dizzy Dingo deleted
694 Zany Zebra deleted
695 M.C. Escher Blimp Struggle deleted
696 Wrath of the Cardboard Bastards deleted
697 Children of the Manlove from Hell deleted
698 Dead Dolphin deleted
699 Cthulhu Godzilla Dudes deleted
700 Yucky Yacare deleted
( Items: 681 - 700 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;
}