Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array source #63

Open
Tracked by #95
easis opened this issue Feb 8, 2024 · 2 comments
Open
Tracked by #95

Array source #63

easis opened this issue Feb 8, 2024 · 2 comments
Labels
feature New feature that would fit the core bundle

Comments

@easis
Copy link
Contributor

easis commented Feb 8, 2024

Hi! I'm trying to build a datatable with an array as a source. My goal is to allow the users to filter some values (select one or more employees from a list, date rangee and some other checkboxes) and perform some queries to gather data, do some business logic and present the results in the datatable.

I did not find any example in the docs about how to this and actually don't know if this is possible.

@Kreyu Kreyu added the feature New feature that would fit the core bundle label Feb 8, 2024
@Kreyu
Copy link
Owner

Kreyu commented Feb 8, 2024

Hey. For now, only Doctrine ORM queries are supported, although I want it to be supported by default as well. Creating an array adapter would require adding a ProxyQuery class accepting arrays and handling pagination and sorting.

@easis
Copy link
Contributor Author

easis commented Feb 9, 2024

Ok, I'll wait. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature that would fit the core bundle
Projects
None yet
Development

No branches or pull requests

2 participants