Group actions:
Id Name Status
301 Ashamed Armadillo deleted
302 Super Cooking Psychiatrist deleted
303 Lazy Kabuki Pioneer deleted
304 Odd Octopus active
305 Relieved Raven deleted
306 Legacy of Vocabulary Fest deleted
307 Hazardous Octopus Mania active
308 Amused Armadillo deleted
309 Mega Man Puzzle Dystopia deleted
310 Flying Porn Hoedown active
311 Sid Meier Flatulence Squadron deleted
312 Vast Vendace active
313 Ashamed Albatross active
314 Poised Puffin active
315 Street Metal Nitro deleted
316 Irritating Lizard - The Lost Levels deleted
317 Ultraviolent Pachinko 2000 deleted
318 Insane Plunger Anarchy deleted
319 Blushing Booby deleted
320 Magnetic Amish Empire deleted
( Items: 301 - 320 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;
}