Group actions:
Id Name Status
581 Children of the Donkey Arena active
582 A Boy and His Dog Strikes Again inactive
583 Intelligent Catapult Trader deleted
584 Big Terrorist Conquest deleted
585 Forgotten Pinball Gone Wild active
586 Envious Elephant inactive
587 Amused Albatross inactive
588 Amused Albatross active
589 Omega Sunshine Hell inactive
590 Communist Stick Explosion inactive
591 Wooden Penguin Slayer deleted
592 Little Karaoke Adventure deleted
593 John Romero Army Planet inactive
594 Combative Constrictor active
595 Pixellated Flatulence Daredevils deleted
596 Bonk Dance Demolition active
597 Secret of the Vocabulary Wranglers active
598 Easy Eland active
599 Sparkling Sheep inactive
600 Maniac Software in Middle-Earth deleted
( Items: 581 - 600 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;
}