【发布时间】:2013-06-12 04:41:52
【问题描述】:
我的ASPxGridView 中有一个由JavaScipt 为FocusedRowChanged 提供的客户端功能。
在这个函数中,我将gvMore.GetFocusedRowIndex() 发布到我的CallBackPanel PerformCallback。
我将FocusedRowIndex 保存到 ri 变量(var ri = gvMore.GetFocusedRowIndex();)
然后我删除行的焦点(gvMore.SetFocusedRowIndex(-1);)
现在如何在SetFocusedRowIndex(-1); 之后更改GridView row[ri] 颜色?
function OnGridFocusedRowChanged() {
if (gvMore.GetFocusedRowIndex() > -1)
CallBackPanel_FindPlcyCar.PerformCallback(gvMore.GetFocusedRowIndex());
var ri = gvMore.GetFocusedRowIndex();
gvMore.SetFocusedRowIndex(-1);
// *???*
}
???行需要什么JavaScript代码?
请在这里回答,不要将我重定向到另一个链接。
非常感谢
【问题讨论】:
-
你试过了吗?结果如何?
标签: javascript asp.net gridview devexpress client-side-scripting