Available in the Full Version
Grid > Auto-Generate Columns
This sample uses CTP (Community Technical Preview) features. The API and behavior may change when these features are released with full support.
This sample shows the auto-generate columns functionality of igGrid. Auto-generation of columns is very useful when the data source contains a lot of columns which should be displayed in the grid. When columns are auto-generated their header captions are taken from the data source field names. The autoGenerateColumns option is used in combination with defaultColumnWidth option.