<meta name="generator" content="HTML Tidy, see ">
<meta http-equiv="Content-Type" content= "text/htmlcharset=UTF-8">
<title>jQuery EasyUI</title>
<link rel="stylesheet" type="text/css" href= "../themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href= "../themes/icon.css">
<script type="text/javascript" src="../jquery-1.4.4.min.js">
</script>
<script type="text/javascript" src="../jquery.easyui.min.js">
</script>
<script type="text/javascript">
$(function(){
$('#tt2').tree({
checkbox: true,
url: 'tree_data.json',
onClick: function(node){
$(this).tree('toggle', node.target)
//alert('you dbclick '+node.text)
},
onContextMenu: function(e, node){
e.preventDefault()
$('#tt2').tree('select', node.target)
$('#mm').menu('show', {
left: e.pageX,
top: e.pageY
})
}
})
又遇到你了.
配置onLoadSuccess就可以了.
$("#表格ID").datagrid({onLoadSuccess: function(data){
alert("加载数据成功!")
}
})
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)