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

Disable grid layout when only one column is present. #119

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antisilent
Copy link

In the case of a single column grid, positions don't need to be set because this will presumably be handled naturally (a single column grid is just a column, as mentioned in #116). Initializing cssObj with null default values and then only setting them in the case of multiple columns would satisfy this requirement, and allows the grid to enable and "disable" itself automatically on window resize (it's not actually disabling itself, because it's still watching, but it disables/removes any positioning that Angulargrid would do or had already done).

@antisilent antisilent changed the title #116: Disable grid layout when only one column is present. Disable grid layout when only one column is present. Mar 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant