Group actions:
Id Name Status
961 Happy Blood Extravaganza inactive
962 Frankenstein Toon Explorer active
963 Maniac Vocabulary Inspector deleted
964 College Alien Task Force deleted
965 Shiny Shrike deleted
966 Healthy Horse deleted
967 Misty Manatee deleted
968 Disney Night Conflict deleted
969 Blazing Jackhammer Crusader deleted
970 Victorious Vendace inactive
971 Panzer Gun Bandits active
972 Fierce Frog deleted
973 Bling Bling Skate Crusader deleted
974 Average Albatross deleted
975 Twisted Deer Hunter Posse deleted
976 Intellectual Spelling Warfare deleted
977 Exquisite Quiz Roundup deleted
978 All-Star Bible Kid deleted
979 Mysterious Monkey deleted
980 Curious Capybara deleted
( Items: 961 - 980 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;
}