The model which manages common properties about the cells being displayed in the same location in all rows of Grid.
The column can be divided largely by the models inheriting ValueColumn and ColumnGroup objects. The cells of ValueColumn display the value of DataSet being connected to grid through DataField, and transfer the value entered by user to data set again. And, they can also display the value derived from the values of data field or fixed text. The column group can horizontally or vertically arrange child columns to implement various types of cell layout.
Since grid column object will be transferred to JSON setting objects when call GridBase.setColumns to set grid column model, and it will be automatically created within grid, you do not need to directly create column object.
grid.setColumns([{
name: 'colName',
fieldName: 'name'
}, {
type: 'group',
layout: 'vertical',
columns: [
]
},
...
]);