Wijmo UI for the Web
beginEdit Method
Puts the current cell into edit mode, as long as the editingMode options is set to "cell".
Syntax
Javascript (Usage) 
$(function () {
    var returnsValue; // Type:  bool
    returnsValue = $(".selector").wijgrid("beginEdit");
});
Javascript (Specification) 
function beginEdit() : bool;

Return Value

True if the cell is successfully put into edit mode, otherwise false.
Example
$("#element").wijgrid({}
    editingMode: "cell",
    currentCellChanged: function (e, args) {
        if ($(e.target).wijgrid("option", "isLoaded")) {
            window.setTimeout(function () {
                $(e.target).wijgrid("beginEdit");
            }, 100);
        }
    }
});
Browser Compatibility
7
5
5

See Also

Reference

wijgrid type
wijgrid jQuery Widget

 

 


© 2013 All Rights Reserved.

Send comments on this topic.