import Em from 'ember';

var LlamaColumngroup = Em.View.extend({
	classNames: 'llama-columngroup',

	columns: null
});

export default LlamaColumngroup;

@@ -107,16 +107,414 @@
 ns: null
+,%0A%0A%09updateTotalWidth: function () %7B%0A%09%09var total = 0;%0A%09%09this.get('childViews').forEach(function (view) %7B%0A%09%09%09total += view.getWidth();%0A%09%09%7D);%0A%09%09this.$().width(total);%0A%09%7D,%0A%0A%09onChildViewUpdate: function () %7B%0A%09%09Em.run.later(this, this.updateTotalWidth, 0);%0A%09%7D.observes('childViews'),%0A%0A%09didInsertElement: function () %7B%0A%09%09this._super();%0A%09%09Em.run.scheduleOnce('afterRender', this, this.updateTotalWidth);%0A%09%7D
 %0A%7D);%0A%0Aex

Update columngroup width when columns are inserted