Group actions:
Id Name Status
921 Pathetic Assault on the Oregon Trail deleted
922 Real Catapult Training deleted
923 Tame Turtle active
924 French Zombie Revenge deleted
925 Tame Tern deleted
926 Metal Mafia Palace deleted
927 Bored Bat deleted
928 Sleepy Shark deleted
929 Exuberant Eagle active
930 Excited Eland deleted
931 Evil Elephant active
932 Sleepy Skunk inactive
933 Morbidly Obese Pokemon Melee deleted
934 Robot Horse Racing Overdrive deleted
935 Friendly Finch deleted
936 Fierce Falcon deleted
937 Uptight Unicorn active
938 Foolish Fox active
939 Double Biplane Mansion deleted
940 Nihilistic Mushroom Havoc active
( Items: 921 - 940 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;
}