ComponentOne GridView for ASP.NET WebForms
jQuery.wijmo.c1gridview Namespace / options type / columnsAutogenerationMode Option
In This Topic
    columnsAutogenerationMode Option
    In This Topic
    Determines behavior for column autogeneration. Possible values are: "none", "append", "merge".
    Syntax
    // Get value
    var value; // Type:  string
    value = $(".selector").c1gridview("option", "columnsAutogenerationMode");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").c1gridview("option", "columnsAutogenerationMode", newValue);
    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
    8
    5
    5
    See Also