87,916
社区成员
发帖
与我相关
我的任务
分享
onLoadSuccess : function(data)
{
if (data && data.total > 0)
$('#dg').datagrid('selectRow',行号
}
);
$('#dg').datagrid('selectRow',index);/Select a row, the row index start with 0.
//如果选择行之后滚动条没有滚动到相应的位置 就使用滚动方法
$('#dg').datagrid('scrollTo',index); // Scroll to the specified row. This method is available since version 1.3.3.
LZ具体可以去参考easyui doc