kdietrich/gridstack-angular

Grid not initialized correctely when used within a template and angular routing

Edregol opened this issue · 0 comments

Hi there,

I've pretty much copied the code from the demo site (http://kdietrich.github.io/gridstack-angular/demo/) and created an html template (gridstackTemplate.html see attached file) as well as a controller (gridstackTemplateController) so that it can be used via routing.

As soon as I access the template via routing in my index.html the grid seems to have only one row and gets streched.

Regards Edregol

Edit:
I forgot to add style information to the grid. Sorry for the inconvenience.