Wijmo UI for the Web
headerText Option

Gets or sets the header text.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").c1field("option", "headerText");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").c1field("option", "headerText", newValue);
        
});
Javascript (Specification) 
var headerText : string;
Example
$("#element").wijgrid({ columns: [ { headerText: "column0" } ] });
Remarks
If the value is undefined the header text will be determined automatically depending on the type of the datasource: DOM table - text in the header cell. Array of objects - dataKey (name of the field associated with column). Two-dimensional array - dataKey (index of the field associated with column).
Browser Compatibility
7
5
5

See Also

Reference

options type
c1field jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.