Group actions:
Id Name Status
121 Revenge of the Kabuki in the Bayou deleted
122 Telekinetic Police from Hell active
123 Allied Racing 25th Anniversary Edition active
124 Rockin' Fun from Mars inactive
125 Relieved Ray deleted
126 Ho-Hum Pogo Annihilation inactive
127 Inappropriate Furry Roundup inactive
128 Blasphemous Fishing Man inactive
129 Pixellated Kart Fighter deleted
130 Hilarious Herring inactive
131 Irritating Boxing Runner inactive
132 Repulsive Rhinoceros deleted
133 Cautious Corncrake inactive
134 Orbital Jungle Legend deleted
135 Subatomic Goth Stadium deleted
136 Crazy Cowfish deleted
137 Anxious Albatross inactive
138 Elegant Emu inactive
139 Spectacular Shadow Returns deleted
140 The Robot in Middle-Earth deleted
( Items: 121 - 140 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;
}