Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
wiki:first_grid [2012/05/23 16:13]
varunvats Changed jrGrid to jqGrid
wiki:first_grid [2013/05/27 10:01]
olegk add X-UA-Compatible meta in head
Line 53: Line 53:
 <​head>​ <​head>​
 <meta http-equiv="​Content-Type"​ content="​text/​html;​ charset=utf-8"​ /> <meta http-equiv="​Content-Type"​ content="​text/​html;​ charset=utf-8"​ />
 +<meta http-equiv="​X-UA-Compatible"​ content="​IE=edge"​ />
 <​title>​My First Grid</​title>​ <​title>​My First Grid</​title>​
   ​   ​
Line 66: Line 67:
 </​style>​ </​style>​
  
-<script src="​js/​jquery-1.5.2.min.js"​ type="​text/​javascript"></​script>​+<script src="​js/​jquery-1.7.2.min.js"​ type="​text/​javascript"></​script>​
 <script src="​js/​i18n/​grid.locale-en.js"​ type="​text/​javascript"></​script>​ <script src="​js/​i18n/​grid.locale-en.js"​ type="​text/​javascript"></​script>​
 <script src="​js/​jquery.jqGrid.min.js"​ type="​text/​javascript"></​script>​ <script src="​js/​jquery.jqGrid.min.js"​ type="​text/​javascript"></​script>​
Line 73: Line 74:
 $(function(){ ​ $(function(){ ​
   $("#​list"​).jqGrid({   $("#​list"​).jqGrid({
-    url:'​example.php',​+    url: '​example.php',​
     datatype: '​xml',​     datatype: '​xml',​
     mtype: '​GET',​     mtype: '​GET',​
-    colNames:​['​Inv No','​Date',​ '​Amount','​Tax','​Total','​Notes'​],​+    colNames: ['Inv No', '​Date',​ '​Amount',​ '​Tax',​ '​Total',​ '​Notes'​],​
     colModel :[      colModel :[ 
       {name:'​invid',​ index:'​invid',​ width:​55}, ​       {name:'​invid',​ index:'​invid',​ width:​55}, ​

QR Code
QR Code wiki:first_grid (generated for current page)