Skip to content

Commit 6d7c940

Browse files
committed
coding
1 parent 24c2c9f commit 6d7c940

File tree

4 files changed

+65
-20
lines changed

4 files changed

+65
-20
lines changed

YanZhiwei.JavaScript.Utilities/YanZhiwei.JavaScript.Utilities.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,7 @@
430430
<Content Include="jquery\ion.rangeSlider-2.1.4\js\ion-rangeSlider\ion.rangeSlider.js" />
431431
<Content Include="jquery\ion.rangeSlider-2.1.4\js\ion-rangeSlider\ion.rangeSlider.min.js" />
432432
<Content Include="jquery\ion.rangeSlider-2.1.4\js\vendor\jquery-1.12.3.min.js" />
433+
<Content Include="jquery\jqGrid-4.4.3\jqGrid_demo.aspx" />
433434
<Content Include="jquery\jquery-ui-1.12.0\AUTHORS.txt" />
434435
<Content Include="jquery\jquery-ui-1.12.0\external\jquery\jquery.js" />
435436
<Content Include="jquery\jquery-ui-1.12.0\images\ui-icons_444444_256x240.png" />
@@ -463,7 +464,6 @@
463464
<Content Include="html5\html5Utils.html" />
464465
<Content Include="html5\html5Utils.js" />
465466
<Content Include="jquery\jqGrid-4.4.3\jqGridUtils.js" />
466-
<Content Include="jquery\jqGrid-4.4.3\jqGrid.html" />
467467
<Content Include="jquery\jqGrid-4.4.3\css\ellipsis-xbl.xml" />
468468
<Content Include="jquery\jqGrid-4.4.3\css\ui.jqgrid.css" />
469469
<Content Include="jquery\jqGrid-4.4.3\js\Changes.txt" />
@@ -1083,6 +1083,13 @@
10831083
<Compile Include="jquery\datatables-1.10.2\dataTables_demo.aspx.designer.cs">
10841084
<DependentUpon>dataTables_demo.aspx</DependentUpon>
10851085
</Compile>
1086+
<Compile Include="jquery\jqGrid-4.4.3\jqGrid_demo.aspx.cs">
1087+
<DependentUpon>jqGrid_demo.aspx</DependentUpon>
1088+
<SubType>ASPXCodeBehind</SubType>
1089+
</Compile>
1090+
<Compile Include="jquery\jqGrid-4.4.3\jqGrid_demo.aspx.designer.cs">
1091+
<DependentUpon>jqGrid_demo.aspx</DependentUpon>
1092+
</Compile>
10861093
<Compile Include="jquery\zTree\3.5\zTree_example1.aspx.cs">
10871094
<DependentUpon>zTree_example1.aspx</DependentUpon>
10881095
<SubType>ASPXCodeBehind</SubType>

YanZhiwei.JavaScript.Utilities/jquery/jqGrid-4.4.3/jqGrid.html renamed to YanZhiwei.JavaScript.Utilities/jquery/jqGrid-4.4.3/jqGrid_demo.aspx

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,22 @@
1-
<!DOCTYPE html>
1+
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="jqGrid_demo.aspx.cs" Inherits="YanZhiwei.JavaScript.Utilities.jquery.jqGrid_4._4._3.jqGrid_demo" %>
2+
3+
<!DOCTYPE html>
4+
25
<html xmlns="http://www.w3.org/1999/xhtml">
3-
<head>
6+
<head runat="server">
47
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5-
<title>jqGrid 4.4.3 Demo</title>
6-
7-
<link href="../../jquery-ui-1.12.0/jquery-ui.min.css" rel="stylesheet" />
8-
<link href="../../jqGrid-4.4.3/css/ui.jqgrid.css" rel="stylesheet" />
9-
<script src="../../jquery-1.9.1.js"></script>
10-
<script src="../../jquery-ui-1.12.0/jquery-ui.js"></script>
11-
<script src="../../jqGrid-4.4.3/js/jquery.jqGrid.min.js"></script>
12-
<script src="../../jqGrid-4.4.3/src/i18n/grid.locale-cn.js"></script>
8+
<title></title>
9+
<link href="../jquery-ui-1.12.0/jquery-ui.min.css" rel="stylesheet" />
10+
<link href="css/ui.jqgrid.css" rel="stylesheet" />
11+
<script src="js/jquery-1.7.2.min.js"></script>
12+
<script src="../jquery-ui-1.12.0/jquery-ui.min.js"></script>
13+
<script src="js/jquery.jqGrid.min.js"></script>
1314
<script src="jqGridUtils.js" type="text/javascript"></script>
1415
<script type="text/javascript">
15-
function initBase() {
16+
function initExt() {
17+
/// <summary>
18+
/// 扩展初始化
19+
/// </summary>
1620
var colNames = ['序号', '箱名称', '回路名称', '启用', '回路控制(DO)', '回路(DI)', '是否上锁', '运行方式'];
1721
var colModel = [
1822
{ name: 'CID', index: 'CID', width: 120 },
@@ -77,13 +81,13 @@
7781
<body>
7882
<table id="ctuStatus"></table>
7983
<br />
80-
<input id="Button1" type="button" value="initBase" onclick="initBase()" />
81-
<input id="Button2" type="button" value="updateBlinkRow" onclick="updateBlinkRow()" />
82-
<input id="Button3" type="button" value="highlightRow" onclick="highlightRow()" />
83-
<input id="Button4" type="button" value="getRowDataByColNameValue" onclick="getRowDataByColNameValue()" />
84-
<input id="Button5" type="button" value="getRowIndex" onclick="getRowIndex()" />
85-
<input id="Button6" type="button" value="getCellIndex" onclick="getCellIndex()" />
86-
<input id="Button7" type="button" value="blinkRow" onclick="blinkRow()" />
87-
<input id="Button8" type="button" value="blinkCell" onclick="blinkCell()" />
84+
<input id="Button1" type="button" value="initExt" onclick="initExt()" /><br />
85+
<input id="Button2" type="button" value="updateBlinkRow" onclick="updateBlinkRow()" /><br />
86+
<input id="Button3" type="button" value="highlightRow" onclick="highlightRow()" /><br />
87+
<input id="Button4" type="button" value="getRowDataByColNameValue" onclick="getRowDataByColNameValue()" /><br />
88+
<input id="Button5" type="button" value="getRowIndex" onclick="getRowIndex()" /><br />
89+
<input id="Button6" type="button" value="getCellIndex" onclick="getCellIndex()" /><br />
90+
<input id="Button7" type="button" value="blinkRow" onclick="blinkRow()" /><br />
91+
<input id="Button8" type="button" value="blinkCell" onclick="blinkCell()" /><br />
8892
</body>
8993
</html>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Web;
5+
using System.Web.UI;
6+
using System.Web.UI.WebControls;
7+
8+
namespace YanZhiwei.JavaScript.Utilities.jquery.jqGrid_4._4._3
9+
{
10+
public partial class jqGrid_demo : System.Web.UI.Page
11+
{
12+
protected void Page_Load(object sender, EventArgs e)
13+
{
14+
15+
}
16+
}
17+
}

YanZhiwei.JavaScript.Utilities/jquery/jqGrid-4.4.3/jqGrid_demo.aspx.designer.cs

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)