Wijmo UI for the Web
setSize Method
Determines the width of the grid.
Determines the height of the grid.
Sets the size of the grid using the width and height parameters.
Syntax
Javascript (Usage) 
$(function () {
    // Parameters
    var width; // Type:  undefined
    var height; // Type:  undefined
    
    $(".selector").wijgrid("setSize", width, height);
});
Javascript (Specification) 
function setSize( 
   width : undefined,
   height : undefined
) : void;

Parameters

width
Determines the width of the grid.
height
Determines the height of the grid.
Example
$("#element").wijgrid("setSize", 200, 200);
Browser Compatibility
7
5
5

See Also

Reference

wijgrid type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.