PHPackages                             jzechy/zetgrid - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. jzechy/zetgrid

ActiveLibrary

jzechy/zetgrid
==============

Jednoduchá komponenta (Datagrid) pro vykreslování seznamů v Nette.

1.0.0(10y ago)0691MITPHPPHP &gt;=5.3.0

Since Mar 21Pushed 9y ago1 watchersCompare

[ Source](https://github.com/JZechy/ZetGrid)[ Packagist](https://packagist.org/packages/jzechy/zetgrid)[ Docs](https://github.com/JZechy/ZetGrid/)[ RSS](/packages/jzechy-zetgrid/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ZetGrid nette component
=======================

[](#zetgrid-nette-component)

[![Latest stable](https://camo.githubusercontent.com/de925b7f862ec253ca25a61092add211f0a01b8fe6ab7679bd68ba64827f9367/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a7a656368792f7a6574677269642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jzechy/zetgrid)[![Downloads Total](https://camo.githubusercontent.com/289554ecc7ab546cc9f923a5dddf16a4ed171f9e0e7cd0fb7261f4364b75b1d0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a7a656368792f7a6574677269642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jzechy/zetgrid)[![Open Issues](https://camo.githubusercontent.com/0e20210a2d48a54984827a92a4a9edfe701e73a712877e9b6abb18058e043dfb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6a7a656368792f7a6574677269642e7376673f7374796c653d666c61742d737175617265)](https://github.com/JZechy/ZetGrid/issues)

ZetGrid je jednoduchá komponenta v Nette, která umožňuje vytváření tzv. datagridu a kterou programátor plní za běhu dle svých potřeb, např. při iteraci nad seznamem entit.

Komponenta funguje jako továrnička, kterou přidáte do konfiguračního souboru a pak už jen vytváříte její instanci.

```
services:
	- Zet\Grid\IGridFactory

```

- [Rychlá dokumentace](https://github.com/JZechy/ZetGrid/wiki/Rychl%C3%A1-dokumentace)

Composer
--------

[](#composer)

```
composer require jzechy/zetgrid

```

Ukázový kod
-----------

[](#ukázový-kod)

```
protected function createComponentUserGrid() {
		$grid = $this->gridFactory->create();

		$header = $grid->addHeader();
		$header->addColumn("#");
		$header->addColumn("Uživatelské jméno");
		$header->addColumn("Email");
		$header->addColumn();

		foreach($this->getUsers() as $user) {
			$row = $grid->addRow();
			$row->addColumn($user->getId());
			$row->addColumn($user->getUsername());
			$row->addColumn($user->getEmail())
				->setLink("mailto:". $user->getEmail());

			$buttons = $row->addColumn()->addClass("text-right");
			$buttons->addButton()
				->addAttribute("title", "Upravit uživatele")
				->addClass("btn btn-warning btn-xs")
				->setIcon("glyphicon glyphicon-pencil")
				->setLink($this->link("edit", $user->getId()));
			$buttons->addButton()
				->addAttribute("title", "Smazat uživatele")
				->addClass("btn btn-danger btn-xs")
				->setIcon("glyphicon glyphicon-remove")
				->setLink($this->link("delete", $user->getId()));
		}

		return $grid;
	}
```

###  Health Score

26

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3654d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/93785e6ad0f73f356f4f1bb9275e99fd268546edb24c185ae4915bc00bd86fa5?d=identicon)[JZechy](/maintainers/JZechy)

---

Top Contributors

[![JZechy](https://avatars.githubusercontent.com/u/6874146?v=4)](https://github.com/JZechy "JZechy (14 commits)")

### Embed Badge

![Health badge](/badges/jzechy-zetgrid/health.svg)

```
[![Health](https://phpackages.com/badges/jzechy-zetgrid/health.svg)](https://phpackages.com/packages/jzechy-zetgrid)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
