I know this is a late reply but thought I'd post incase someone else needs to know.
you need to initialize the plugin once it finishes rendering. window.setTimeout(function () { layoutPlugin.updateGridLayout(); }, 100); or use $timeout I had read this in an official post or doc somewhere about 4 months ago. I'll post if I happen to find the reference. Its an odd way of doing things but it works. They are working on ng-grid 3.0 which will hopefully have a better event model. On Tuesday, January 29, 2013 3:59:12 AM UTC-5, Gordon McGuire wrote: > > Thanks Jakub, > > I see that plugin only changes the height based on the number of rows it > needs - not quite what I need but a good basis for writing my own plugin. I > see theres another plugin called "ng-grid-layout" that looks like it might > be what I need, but I'm unsure how to use it. I know you include it by > going plugins: [new ngGridLayoutPlugin()] but how does the updateGridLayout > method get called? > > On Monday, January 28, 2013 10:41:27 PM UTC, Jakub Wiśniowski wrote: >> >> There is a "dynamic height plugin". See: >> https://github.com/angular-ui/ng-grid/tree/master/plugins. >> >> However I didn't found anything like that for dynamic (responsive) width. >> >> regards >> Jakub >> > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.