Wijmo UI for the Web
columnsAutogenerationMode Field
wijmo.grid Namespace > IWijgridOptions Interface : columnsAutogenerationMode Field

Determines behavior for column autogeneration. Possible values are: "none", "append", "merge".

Syntax
var instance; // Type: wijmo.grid.IWijgridOptions;
var value; // Type: string
value = instance.columnsAutogenerationMode;
var columnsAutogenerationMode : string;
Example
$("#element").wijgrid({ columnsAutogenerationMode: "merge" });
Remarks
Possible values are: "none": Column auto-generation is turned off. "append": A column will be generated for each data field and added to the end of the columns collection. "merge": Each column having dataKey option not specified will be automatically bound to the first unreserved data field.For each data field not bound to any column a new column will be generated and added to the end of the columns collection. To prevent automatic binding of a column to a data field set its dataKey option to null. Note: columns autogeneration process affects the options of columns and the columns option itself.
See Also

Reference

IWijgridOptions Interface