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

fix(grid): gridHeight & gridWidth not set, closes #35 #40

Merged
merged 1 commit into from
Apr 2, 2018

Conversation

ghiscoding
Copy link
Owner

@jmzagorski
I would like like a review on this, grid height and width fix. I found this good article on css.bind and I switched to that. I also found why I was resizing the grid at later point with gridHeight and gridWidth, it was because of the Pagination component that I use with Backend Service, it was taking 100% width of the screen instead of the grid size, unless I resized it. I found that if I put the width on the grid container, then set the grid to width: 100%, like it is shown in the SlickGrid example, that fixes my issue and the pagination still have a width 100%.

So it all seems to work for me now, but I would really like if you could take 5-10min to review and possibly test it.

Copy link
Collaborator

@jmzagorski jmzagorski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! I was not able to test it on my app because I finally finishing up my API and do not have a working grid yet, but example 1 worked as expected and the grid style is set

@ghiscoding ghiscoding merged commit 0bd2c53 into master Apr 2, 2018
@ghiscoding ghiscoding deleted the bugfix/grid-height-width branch April 8, 2018 04:36
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.

2 participants