Group actions:
Id Name Status
381 Blue-eyed Bug deleted
382 Revenge of Chicken Explosion deleted
383 Dirty Sushi Warfare deleted
384 Disney Unicycle Superstar deleted
385 Xenophobic Xenomorph active
386 Drab Dragonfly inactive
387 Sore Snake inactive
388 Surprise Stick All-Stars inactive
389 Musical Racing Spies active
390 Radical Zamboni Agent active
391 Bright Beetle deleted
392 The Sims: Shaving Punch-Out!! inactive
393 Ultraviolent Karate Remix active
394 Glamorous Gerenuk deleted
395 Sid Meier Rollerball Heroes active
396 Naughty Newt active
397 Mr. Alligator 95 deleted
398 Beautiful Bear inactive
399 Difficult Dove active
400 Determined Dragonfly deleted
( Items: 381 - 400 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;
}