Group actions:
Id Name Status
361 Sleepy Seal deleted
362 Allied Shopping Kingdom inactive
363 Deranged Sailor Brothers deleted
364 Tactical Barbarian - The Card Game active
365 Aero Jetski Assault active
366 Frisky Bongo Spectacular deleted
367 Smoggy Skylark inactive
368 Android Shadow Syndrome active
369 Death-Defying Basketball Troopers deleted
370 Fine Flamingo deleted
371 Gleaming Grasshopper inactive
372 Frail Fish inactive
373 Cthulhu Amish Fiesta inactive
374 Helpless Hare inactive
375 Clumsy Crayfish deleted
376 Brave Boar active
377 Atomic Cyborg Conflict active
378 Vivacious Vicuña active
379 Nasty Nightingale inactive
380 Testy Teira active
( Items: 361 - 380 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;
}