Group actions:
Id Name Status
661 German Cricket Groove active
662 Ho-Hum WWE Co-Op active
663 My First Fishing Bloodbath deleted
664 Indiana Jones and the Transvestite Madness deleted
665 Mushy Manx deleted
666 Magnificent Mink deleted
667 Open Oryx inactive
668 Galactic Scorched Earth Palace deleted
669 Pathetic Sandwich Boxing deleted
670 Master Chief Hammer Gone Wild deleted
671 Final Makeover Nightmare inactive
672 Muddy Mockingbird active
673 Zombie Batman Struggle deleted
674 Depressed Dugong active
675 The Care Bears' Business - 2nd Impact deleted
676 Delightful Duck inactive
677 Omega Hockey from Planet X active
678 Pro Robot in the Hood deleted
679 Magical Dating in the Magic Kingdom deleted
680 Amateur Yoga Crisis inactive
( Items: 661 - 680 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;
}