这是剑道网格中的列:
columns.Bound(i => i.Article).ClientTemplate(" <div id='aprislst21_#=UppdragUtfortRapporteratID#_#=rownumber#' onclick=\'aprislst2_RPT(this,#=UppdragUtfortRapporteratID#,
#=KundID#,#=Article_Typ_num#,#=rownumber#,#=UppdragAttesteratID#)\'> #=UppdragUtfortRapporterat_Benamning# </div> <input type='text'
class='cell-hide' id ='aprislst22_#=UppdragUtfortRapporteratID#_#=rownumber#' /> ").Title("Article").Width(250);
如何通过编辑事件修改或访问此 div?像这样的东西?
function OnEditReportGrid2(e) {
dataView = this.dataSource.view();
for (var i = 0; i < dataView.length; i++) {
dataView[i].Article.html("????")
// Any thing like this is possible?
}
}