This is a migrated thread and some comments may be shown as answers.

[Solved] Changing the cell to edit mode in batch edit grid programmatically

0 Answers 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jey
Top achievements
Rank 1
Jey asked on 06 Feb 2013, 08:14 AM
Hi, I am using a batch edit grid which has a client template check box column and int type of column. I am facing two issues,
1. I need to handle check box's on change event. for that I have tried the following code, but handleChange event never gets fired.

columns.Bound(o => o.WorkSummarySelect).Width(75).Title("Display").ClientTemplate("<input  disabled='disabled' id='chk1' onchange='handleChange(this, this.checked)' type='checkbox' value=<#= WorkSummarySelect#> <#= WorkSummarySelect ? checked='checked' : '' #> />");

2. when the check box is changed, then the focus should automatically jump to the int type of column as in edit mode. for this I tried, to programmatically invoke the tab navigation key event, but I could not produce it.

please help me to solve these issues. Thank you.
Tags
General Discussions
Asked by
Jey
Top achievements
Rank 1
Share this question
or