Wijmo UI for the Web
columnsAutogenerationMode Option
wijmo.grid.wijgrid Namespace > options type : columnsAutogenerationMode Option

Determines the behavior for column autogeneration.

Default value: merge

Type: String (see valid values below)

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijgrid("option", "columnsAutogenerationMode");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijgrid("option", "columnsAutogenerationMode", newValue);
        
});
var columnsAutogenerationMode : string;
Example
$("#element").wijgrid({ columnsAutogenerationMode: "none" });
Remarks

Valid values:

The Column Visibility sample sets this option to none so that columns are not automatically created for ones that are hidden.

Note: The columns autogeneration process affects the options set on columns and the columns option itself.

See Also

Reference

options type
columns Method
columns Option
wijgrid jQuery Widget