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 },
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 >
0 commit comments