Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
<ej:Grid ID="Grid" runat="server">
<Columns>
……………….
</Columns>
<ClientSideEvents ActionComplete="Complete" RecordDoubleClick="click" />
…
</ej:Grid>
<script>
var index;
function complete(args){
if (args.requestType == "beginedit") {
var column = this.getColumnByIndex(index);
$("#" + this._id + column.field).parent().find("input").focus().select(); //find the input element and focus
}
}
function click(args) {
index = args.cellIndex; //find the target index
}
</script>
|