import { Component, enableProdMode, ViewContainerRef, ViewChild, ViewChildren, ViewEncapsulation } from '@angular/core'; import { IntegralUIGrid } from '../../integralui/components/integralui.grid'; enableProdMode(); @Component({ selector: 'iui-app', template: `
This demo shows columns where they occupy the width of Angular Grid component in whole. Whenever column width changes, other columns automatically change their size to fill the available grid space. Each column can auto size within its minimum and maximum width set.
Some columns are better to have a fixed width, or to resize only in specific range. For this purpose, you can use the following fields of column object:
For more information check out the source code of this sample (grid/grid-auto-size-columns.ts) file.