mouf / html.widgets.evolugrid
This package contains the EvoluGrid widget. This is an HTML/Ajax datagrid that can be used to display data. It's main difference with other datagrids is that you can chage the set of columns dynamically depending on the paginated results you are looking at.
Installs: 31 322
Dependents: 3
Suggesters: 0
Security: 0
Stars: 0
Watchers: 8
Forks: 16
Open Issues: 5
Type:mouf-library
Requires
- php: ^8.0
- beberlei/porpaginas: ^1.0
- mouf/database.querywriter: ~4.0
- mouf/html.htmlelement: ^2.0
- mouf/html.utils.weblibrarymanager: >=2.0, <4.0
- mouf/javascript.historyjs: ^1.8
- mouf/javascript.jquery.jquery: ^2.1
- mouf/mvc.splash-common: ~10.0
- mouf/utils.common.conditioninterface: 2.*
- mouf/utils.common.formatters: ~3.0
- mouf/utils.common.paginable-interface: ~1.0
- mouf/utils.common.sortable-interface: ~1.0
- mouf/utils.common.url-interface: ~1.0
- mouf/utils.value.common-value: ~1.0
- mouf/utils.value.value-interface: ~1.0
- symfony/property-access: ^3.0
- twig/twig: ^2
README
Evolugrid is an Ajax table library that can be used to display data sets in your webapps.
It comes in 2 parts:
- A jQuery plugin (evolugrid.js)
- A PHP library that can generate the JS, and that integrates well with the Mouf framework (although it can be used without Mouf)
You can use the JS library as a stand-alone, if you are not using PHP as your backend.
Why Evolugrid is different
There are a number of Ajax tables out there, and Evolugrid is certainly not the most powerful of them. BUT, it has a number of interesting features that makes it different. Especially:
- It integrates pretty well with Mouf
- The configuration of the grid can be passed along the data
In all other Ajax grids, you usually write a model (the list of columns the grid contains), and then, via an Ajax call, you read the data. What makes Evolugrid different is that you can pass the data AND the model in the Ajax call.
There are many cases where this can be really helpful. For instance, if you have a sparse matrix to display, with a huge number of columns but very few columns are filled, you can display only the columns that are filled. And as you paginate through the grid, you can add/remove columns. This is not the most common use case, but when you have to do this, Evolugrid is almost your only option if you want to keep your sanity :)
Mouf package
This package is part of Mouf (http://mouf-php.com), an effort to ensure good developing practices by providing a graphical dependency injection framework. Using Mouf's user interface, you can create your evolugrid graphically.
Documentation
There are 2 ways to use Evolugrid:
- The JS only way
- The PHP way