1

我需要在 DataBound 事件期间的第一行将 Kendo UI Grid 的焦点设置为特定单元格。我将 Kendo 用于 MVC,这是我的专栏的定义:

columns.Bound(o => o.QtyCurrentlyReceived).Width(75).Title("Qty Curr Rx");

4

1 回答 1

3

好吧,那么这是应该为您完成工作的代码:

var theCell = $('#Grid tbody td:eq(3)');//sample selector for a cell
$('#Grid').data('tGrid').editCell(theCell);//ask the Grid to put that cell in edit mode
于 2012-08-09T17:14:50.650 回答