Group actions:
Id Name Status
401 Summer Underwear Trivia active
402 Proud Pelican active
403 Victorious Vendace deleted
404 Innocent Ibis deleted
405 Tender Tern deleted
406 Odd Okapi deleted
407 Frail Frog active
408 Wooden Guitar Diesel deleted
409 Hip-Hop Vigilante Ultra inactive
410 The Last Cannibal Rebellion inactive
411 Raging Drug-Dealing Heroes deleted
412 Important Ibis inactive
413 Comfortable Corncrake active
414 We Love Banjo Crime Scene Investigation inactive
415 Samba de Mall from Outer Space deleted
416 Star Octopus Gladiator deleted
417 Transvestite Princess Fighter deleted
418 Dr. Spelling Alpha inactive
419 Bloody Bear inactive
420 Claustrophobic Afro Co-Op inactive
( Items: 401 - 420 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;
}