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

Feature: Optiongroups #12

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open

Feature: Optiongroups #12

wants to merge 4 commits into from

Conversation

JoryHogeveen
Copy link
Owner

@JoryHogeveen JoryHogeveen commented Feb 12, 2019

Adds a simple method for creation option groups for custom column classes.

For multiselect:
Selected columns will still be shown as first and outside of the group to be able to easily find active columns and deselect them if needed.

Format:

// Array key is the group label.
array(
	'One' => array(
		'one-half',
		'one-third',
		'one-fourth',
		'one-fifth',
		'one-sixth',
		'one-seventh',
		'one-eighth',
	),
	'Two' => array(
		'two-thirds',
		'two-fourths',
		'two-fifths',
		'two-sixths',
		'two-sevenths',
		'two-eighths',
	),
	// Etc.
);

@JoryHogeveen JoryHogeveen added this to the 1.4 milestone Feb 12, 2019
@JoryHogeveen JoryHogeveen self-assigned this Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant