Wijmo UI for the Web
textAlignment Option

Gets or sets the text alignment of data cells. Possible values are "left", "right", "center".

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").c1band("option", "textAlignment");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").c1band("option", "textAlignment", newValue);
        
});
Javascript (Specification) 
var textAlignment : string;
Example
$("#element").wijgrid({ columns: [{ textAligment: "right" }]});
Browser Compatibility
7
5
5

See Also

Reference

options type
c1band jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.