Wijmo UI for the Web
columnsAutogenerationMode Field

Default value: 'merge'

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

Syntax
Javascript (Usage) 
var value; // Type: string
value = jQuery.wijmo.wijgrid.options.columnsAutogenerationMode;
Javascript (Specification) 
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.
Browser Compatibility
7
5
5

See Also

Reference

options type

 

 


© 2013 All Rights Reserved.

Send comments on this topic.