Group actions:
Id Name Status
41 Chinese Spelunking Battle active
42 Masters of the Programming Trilogy deleted
43 Depressing Sudoku Arena deleted
44 Merciless Nazi Strike Force active
45 Grimy Mall Gaiden active
46 Cute Constrictor deleted
47 Defeated Dove deleted
48 Talented Teira deleted
49 Grumpy Goldfinch deleted
50 Golden Cardboard Ultra deleted
51 Amazon Elevator Agent active
52 All-Star Cheese Dash deleted
53 Nutty Nightingale deleted
54 Defeated Dog active
55 Dull Dormouse deleted
56 Graceful Gazelle deleted
57 Precious Pig deleted
58 Special Chase Hop-A-Bout active
59 Smiling Sandpiper deleted
60 Yucky Yak active
( Items: 41 - 60 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;
}