Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144489 | May 8,2019 05:00 PM UTC | May 24,2019 10:29 AM UTC | ASP.NET Web Forms | 5 |
![]() |
Tags: Grid |
<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>
|
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.