Skip to content
This repository has been archived by the owner on Nov 5, 2023. It is now read-only.

Create grid with predefined filters #50

Open
dantleech opened this issue Dec 13, 2016 · 0 comments
Open

Create grid with predefined filters #50

dantleech opened this issue Dec 13, 2016 · 0 comments

Comments

@dantleech
Copy link
Contributor

e.g. a grid for only entities belonging to a given user.

$grid = $this->gridFactory->create(Foobar::class);
$grid->modifyQuery([
    'criteria' => Query::comparison('user', $user->getId())
]);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant