wolfgangdrescher / intonation-grid-bundle Goto Github PK
View Code? Open in Web Editor NEWData grids with pagination and filters for Symfony projects.
License: MIT License
Data grids with pagination and filters for Symfony projects.
License: MIT License
To follow the naming conventions of symfony 4 it could be helpful to rename the class names of rezent/prezent-grid
.
Base
prefix instead of Abstract
Interface
suffixDefault
prefix.For clarity it could be worth to get rid of the prezent/prezent-grid
dependency and implement it in this repository.
Add a class to guess a matching ElementType
/ColumnTyp
for all properties of an entity and implement it into GridService
. With this method it will no longer be needed for easy entities to create custom GridTypes.
Parse the ORM configuration, type hints or the @var
annotation to make a good guess.
The GridService::getPaginatedData
method should only allow sorting on columns where the sorting was enabled with the sortable
option.
When a pagination limit is set that is not displayed as an option in the select field HTML will always select the first option.
In general this feature should be improved. Maybe change it to an input field? Limit lower and upper bound for the limit value.
Add an extension for all suitable ElementTypes to search and filter for a query in a column.
An exception in thrown if one filters on a column of a CollectionType. Fix with a property path or some doctrine magic.
Create demos for some basic sample applications of this bundle. Also link to the documentation of prezent/grid
and prezent/grid-bundle
.
Add unit test for all relevant functions and methods.
Since it looks like Pagerfanta will be unmaintained it could be worth to get rid of this dependency. Instead Doctrine Pagination could be an option.
https://github.com/symfony/demo/blob/master/src/Pagination/Paginator.php
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.