Group actions:
Id Name Status
441 Uptight Unicorn active
442 Misty Macaque active
443 Imperial Hoedown Havoc inactive
444 Panicky Porpoise inactive
445 Attractive Alligator deleted
446 Joyous Jay deleted
447 Spectacular Thief in the Hood deleted
448 Big Stunt from Mars inactive
449 Masters of Beach School inactive
450 Disturbed Dog deleted
451 Horrible Horse active
452 Beautiful Driving Vengeance inactive
453 Lazy Breakdancing Challenge deleted
454 Super Spider deleted
455 Alive Ant deleted
456 Pleasant Platypus deleted
457 Hindu Frisbee in Space deleted
458 Rockin' Lego Patrol deleted
459 Better Barracuda deleted
460 Defeated Dugong deleted
( Items: 441 - 460 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;
}