Group actions:
Id Name Status
821 Legacy of City Ultra deleted
822 Micro Princess Returns deleted
823 Confused Camel deleted
824 Grieving Goose active
825 Expensive Eel deleted
826 Bling Bling Chef Derby active
827 Relieved Rattlesnake inactive
828 Smoggy Skylark deleted
829 Annoying Angelfish active
830 Gleaming Goosander deleted
831 Colonial Shopping Park deleted
832 Xenophobic Xenomorph active
833 Inquisitive Ibis deleted
834 Kind Katipo inactive
835 Ho-Hum Cowboy Deluxe deleted
836 Deadly Snowboard Strike Force active
837 Shiny Seahorse deleted
838 Energetic Eel active
839 Bored Bee active
840 Soviet Soccer Daredevils active
( Items: 821 - 840 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;
}