ComponentOne GridView for ASP.NET WebForms
jQuery.wijmo.c1gridview Namespace / options type / columns Option
In This Topic
    columns Option
    In This Topic
    An array of column options.
    Syntax
    // Get value
    var value; // Type:  []
    value = $(".selector").c1gridview("option", "columns");
    
    // Set value
    var newValue; // Type:  []
    $(".selector").c1gridview("option", "columns", newValue);
    var columns : ;
    Example
    $("#element").wijgrid({ columns: [ { headerText: "column0", allowSort: false }, { headerText: "column1", dataType: "number" } ] });
    Browser Compatibility
    8
    5
    5
    See Also