Group actions:
Id Name Status
521 Different Dotterel active
522 Ultimate Sword Collection deleted
523 Nice Newt active
524 Grumpy Gibbon active
525 BudgetSoft Presents: Fashion Revenge inactive
526 Custom Dating Extra active
527 Hindu Surf Project inactive
528 Sensual Toon Sisters active
529 Proud Pintail deleted
530 Grieving Goshawk deleted
531 Cautious Cardinal active
532 Fisher Price Handgun Scam deleted
533 Good Grouse deleted
534 Clean Chicken deleted
535 Courageous Caracal inactive
536 Aquatic Motocross Marines inactive
537 Interactive Biplane Palace inactive
538 Mexican Insect Warrior deleted
539 Odd Octopus inactive
540 Zany Desert Jam active
( Items: 521 - 540 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;
}