Web/JqueryEasyui/demo/propertygrid.html
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>PropertyGrid - jQuery EasyUI Demo</title>
<link rel="stylesheet" type="text/css" href="../themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../themes/icon.css">
<link rel="stylesheet" type="text/css" href="demo.css">
<script type="text/javascript" src="../jquery-1.6.min.js"></script>
<script type="text/javascript" src="../jquery.easyui.min.js"></script>
<script type="text/javascript">
$(function(){
$('#tt').propertygrid({
width:300,
height:'auto',
url:'propertygrid_data.json',
showGroup:true,
scrollbarSize:0
});
});
function showGroup(){
$('#tt').propertygrid({
showGroup:true
});
}
function hideGroup(){
$('#tt').propertygrid({
showGroup:false
});
}
function hideHeader(){
$('#tt').propertygrid({
showHeader:false
});
}
function getChanges(){
var s = '';
var rows = $('#tt').propertygrid('getChanges');
for(var i=0; i<rows.length; i++){
s += rows[i].name + ':' + rows[i].value + ',';
}
alert(s)
}
</script>
</head>
<body>
<h2>PropertyGrid</h2>
<div class="demo-info">
<div class="demo-tip icon-tip"></div>
<div>Click on row to change each property value.</div>
</div>
<div style="margin:10px 0">
<a href="#" class="easyui-linkbutton" onclick="showGroup()">ShowGroup</a>
<a href="#" class="easyui-linkbutton" onclick="hideGroup()">HideGroup</a>
<a href="#" class="easyui-linkbutton" onclick="hideHeader()">HideHeader</a>
<a href="#" class="easyui-linkbutton" onclick="getChanges()">GetChanges</a>
</div>
<table id="tt"></table>
后面还有 2 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。