Wijmo UI for the Web
showSelectionOnRender Option

Default value: true

A value indicating whether a selection will be automatically displayed at the current cell position when the wijgrid is rendered. Set this option to false if you want to prevent wijgrid from selecting the currentCell automatically.

Syntax
Javascript (Usage) 
$(function () {
    
    // Get value
    var returnsValue; // Type:  bool
    returnsValue = $(".selector").wijgrid("option", "showSelectionOnRender");
    
    // Set value
    var newValue; // Type:  bool
    $(".selector").wijgrid("option", "showSelectionOnRender", newValue);
        
});
Javascript (Specification) 
var showSelectionOnRender : bool;
Example
$("#element").wijgrid({ showSelectionOnRender: true });
Browser Compatibility
7
5
5

See Also

Reference

options type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.