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

Support vertical 'range' mode #24

Open
krychaj5 opened this issue Jul 5, 2017 · 5 comments
Open

Support vertical 'range' mode #24

krychaj5 opened this issue Jul 5, 2017 · 5 comments

Comments

@krychaj5
Copy link

krychaj5 commented Jul 5, 2017

Hi!
I have multiple visible columns with checkboxes,
I need to multiple check checkboxes only in one column, now when I'm starting checking from upper checkbox in middle column (see pic), pressing shift and clicking down checkbox in middle column, It's checking checkboxes in all columns.

Is there any option to make check only middle column?

image

Thanks for your attention

@rmariuzzo
Copy link
Owner

🤔 Interesting scenario you have there, give me a couple of mins.

@rmariuzzo
Copy link
Owner

I have checked if I could easily handle your specific scenario with the plugin, but I couldn't.

Check this demo, and tell me if it is that what you are looking for: https://plnkr.co/edit/lsJvQMGJ1tfLtMnDwkkn?p=preview

The API usage would be:

$('table').checkboxes('range', true, 'col.a :checkbox');
$('table').checkboxes('range', true, 'col.b :checkbox');
$('table').checkboxes('range', true, 'col.c :checkbox');

@krychaj5 what do you think?

@krychaj5
Copy link
Author

krychaj5 commented Jul 5, 2017

That makes the job!
Thanks man ;)

@rmariuzzo
Copy link
Owner

@krychaj5 I still have to create a new release with this feature included. I will focus on that later, probably this week.

@rmariuzzo rmariuzzo changed the title Multiple columns checking in 'range' mode Support vertical 'range' mode Oct 12, 2017
@Stadly
Copy link

Stadly commented Jun 29, 2020

Any reason for waiting with releasing this? Would be really useful!

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