Group actions:
Id Name Status
161 Arcane Sailor Smackdown inactive
162 Giant Wedding Trainer inactive
163 Fine Flatworm deleted
164 Clumsy Chicken deleted
165 Aggressive Antelope deleted
166 Obsessive-Compulsive Makeover of the Blood God inactive
167 Beautiful Paintball Nation deleted
168 King of Dragon - The Dark Project active
169 Elated Elephant active
170 Real Rabbit deleted
171 Angry Ape deleted
172 Encouraging Eland deleted
173 Ancient Devil Stars deleted
174 Viking Sunshine Mania active
175 Death-Defying Boxing from Outer Space active
176 Stormy Sardine active
177 Mega Man Insect Blaster active
178 Odd Ocelot inactive
179 Precious Pollan active
180 Condemned Crab active
( Items: 161 - 180 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;
}