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

No ability to set default checked fields in Grid->addSelection() #1748

Open
DarkSide666 opened this issue Mar 4, 2022 · 1 comment
Open
Assignees

Comments

@DarkSide666
Copy link
Member

DarkSide666 commented Mar 4, 2022

Is there ability to select some of checkboxes on page load of $grid->addSelection() ?
I couldn't find it. Would be very good to have and probably not that hard to implement.

Probably the nicest way would be to pass string or array of selected checkboxes as argument:

$grid->addSelection(['foo', 'bar']);
// or
$grid->addSelection('foo,bar');
@mvorisek
Copy link
Member

mvorisek commented Oct 2, 2022

related/selection with #1877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants