code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
<div style="font-size:12px;"> This example demostrates how we can manipulate data at client side. To synchronize the manipulation on server<br> we must write custom code. </div> <br /> <table id="list5"></table> <div id="pager5"></div> <br /> <a href="#" id="a1">Get data from selected row</a> <br ...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/manipex.html
HTML
art
4,387
<div style="font-size:12px;"> This example demonstartes a new filterToolbar method. When we call this method the search<br> is placed above the header columns. This method is similar to filterGrid, but resolves the issue<br> related when we resize the coulmns. </div> <br /> <table id="s3list"></table> <...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/search3.html
HTML
art
2,353
var mydata = [ {id:"1",invdate:"2010-05-24",name:"test",note:"note",tax:"10.00",total:"2111.00"} , {id:"2",invdate:"2010-05-25",name:"test2",note:"note2",tax:"20.00",total:"320.00"}, {id:"3",invdate:"2007-09-01",name:"test3",note:"note3",tax:"30.00",total:"430.00"}, {id:"4",invdate:"2007-10-04",name:"test...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/38array6.js
JavaScript
art
4,002
jQuery("#editgrid").jqGrid({ url:'editing.php?q=1', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Closed','Ship via','Notes'], colModel:[ {name:'id',index:'id', width:55,editable:false,editoptions:{readonly:true,size:10}}, {name:'invdate',index:'invda...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/editing.js
JavaScript
art
1,560
<div style="font-size:12px;"> With the help of the new method bindKeys we can navigate trough the grid and define different actions for certain keys.<br/> In this example : Select a row and try to use Up and Down keys to navigate trough the grid rows. When a Enter key is pressed a alert appear. </div> <br /> ...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/40keyboard.html
HTML
art
1,670
jQuery("#s1list").jqGrid({ url:'search.php?q=1', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:65}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:'amount'...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/search1.js
JavaScript
art
1,461
jQuery("#s2list").jqGrid({ url:'search.php?q=1', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:65}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:'amount'...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/search2.js
JavaScript
art
2,069
<div style="font-size:12px;"> It is possible to expand all the rows automatically when the rows are loaded. <br/> This is done just with one option - see the code. </div> <br /> <table id="sg2"></table> <div id="psg2"></div> <script src="40subgrid2.js" type="text/javascript"> </script> <br /> <div style="font-...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/40subgrid2.html
HTML
art
5,709
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <link rel="stylesheet" type="text/css" media="screen" href="http://www.trirand.com/jqgrid35/themes/redmond/jquery-ui-1.7.1.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" hre...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/cellbug.html
HTML
art
3,490
<div style="font-size:12px;"> In case when the server response can not be controlled, jqGrid can perform grouping too <br/> using his own sorting procedure.<br/><br/> </div> <br /> <table id="48remote3"></table> <div id="p48remote3"></div> <script src="38remote3.js" type="text/javascript"></script> <br ...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/38remote3.html
HTML
art
3,658
<div style="font-size:12px;"> This example show the new feature of jqGrid forceFit. Try to resize a column. <br> We can see that the adjacent column (to the right) resizes so that the overall grid width is maintained <br> Again with this we can set the width and height dynamically. <br> Another feature he...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/gridwidth.html
HTML
art
4,243
<?php ?>
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/someurl.php
PHP
art
11
<div style="font-size:12px;"> This example show two new methods:<br> 1. hideCol(colname) - hide a column with a given colname and <br> 2. showCol(colname) - show a column with a given colname.<br> 3. We can hide a column when the grid is initialized using a new property 'hidden' in colModel<br> ...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/hideex.html
HTML
art
3,794
jQuery("#speed").jqGrid({ url:'bigset.php', datatype: "json", height: 255, width: 600, colNames:['Index','Name', 'Code'], colModel:[ {name:'item_id',index:'item_id', width:65}, {name:'item',index:'item', width:150}, {name:'item_cd',index:'item_cd', width:100} ], ...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/speed.js
JavaScript
art
726
<?php // Include the information needed for the connection to // MySQL data base server. include("dbconfig.php"); //since we want to use a JSON data we should include //encoder and decoder for JSON notation //If you use a php >= 5 this file is not needed //include("JSON.php"); // create a JSON service //$js...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/example.php
PHP
art
2,773
<div style="font-size:12px;"> This example demonstrates two new fetures in jqGrid <br> 1. loadComplete() callback - this function is executed immediately after data is loaded.<br> This way we can make some changes depending on the needs.<br> 2. New method getDataIDs() - returns the id's of currently...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/loadcml.html
HTML
art
3,512
jQuery("#grps").jqGrid({ url:'search_adv.php?q=1', datatype: "json", colNames:['Inv No', 'Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id', key : true,index:'a.id',width:55, sorttype:'int'}, {name:'invdate',index:'a.invdate', width:90 }, {name:'name', index:'b.n...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/40grpsearch.js
JavaScript
art
1,025
jQuery("#48remote").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55, editable:true, sorttype:'int',summaryType:'count', summaryTpl : '({0}) total'}, {name:'invdate',index:'invda...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/38remote1.js
JavaScript
art
1,382
<div> This example shows a typical implementation of jqGrid.<br> You can view this in example.html and example.php files included into demo package. Click on the example link to view the result </div> <br /> <b><a href="http://trirand.com/jqgrid/example.html" target="_blank"> example.html</a> </b> <d...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/demo.html
HTML
art
6,532
jQuery("#pdata").jqGrid({ url:'server.php', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:'amount',index...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/postdata.js
JavaScript
art
2,239
<div> This example show how we can use The Table Drag and Drop plugin provided from Denis Howlett <br> Try to drag a row whitin table. </div> <br /> <table id="listdnd"></table> <div id="pagerdnd"></div> <script src="tablednd.js" type="text/javascript"> </script> <br /> <b> HTML </b> <XMP> ... <table id="listdn...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/tablednd.html
HTML
art
3,350
jQuery("#sg1").jqGrid({ url:'server.php?q=1', datatype: "xml", height: 190, colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {na...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/40subgrid1.js
JavaScript
art
2,027
jQuery("#addgrid").jqGrid({ url:'editing.php?q=1', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Closed','Ship via','Notes'], colModel:[ {name:'id',index:'id', width:55,editable:false,editoptions:{readonly:true,size:10}}, {name:'invdate',index:'invdat...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/adding.js
JavaScript
art
1,449
<link rel="stylesheet" type="text/css" media="screen" href="themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="themes/ui.multiselect.css" /> <script src="js/jquery.min.js" ty...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/36colreorder.html
HTML
art
2,275
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jqGrid Demos</title> <style> html, body { margin: 0; /* Remo...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/refactor.html
HTML
art
4,760
jQuery("#rowed2").jqGrid({ url:'server.php?q=3', datatype: "json", colNames:['Actions','Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'act',index:'act', width:75,sortable:false}, {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90, ed...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/rowedex2.js
JavaScript
art
1,607
<div style="font-size:12px;"> This example show the new Cell editing feature of jqGrid. Select some cell. <br> The fields date, amout and tax are editable. When select a cell you can <br> navigate with left, right, up and down keys. The Enter key save the content. The esc does not save the content.<br> Tr...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/celledit.html
HTML
art
3,980
<div style="font-size:12px;"> This example demonstartes new methods. Try to click on pager buttons. </div> <b>Response:</b> <span id="resp"></span> <br/> <br/> <table id="method"></table> <div id="pmethod"></div> <br /> <a href="javascript:void(0)" id="sm1">Get number of record</a> <br /> <a href="javasc...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/methods.html
HTML
art
4,477
<div style="font-size:12px;"> This example show how we can add dialog for live data search.<br/> See below for all available options. <br/> </div> <br /> <table id="search"></table> <div id="pagersr"></div> <input type="BUTTON" id="bsdata" value="Search" /> <script src="searching.js" type="text/ja...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/searching.html
HTML
art
5,600
<div style="font-size:12px;"> We can export the grid data to XML and JSON format. </div> <br /> <table id="list8"></table> <div id="pager8"></div> <br /> <a href="javascript:void(0)" id="e1">View data as xml</a> <br /> <a href="javascript:void(0)" id="e2">View data as json</a> <script src="exportex.js" ty...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/exportex.html
HTML
art
3,116
<link rel="stylesheet" type="text/css" media="screen" href="themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="themes/ui.multiselect.css" /> <script src="js/jquery.min.js" ty...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/37multiple.html
HTML
art
3,494
jQuery("#search").jqGrid({ url:'server.php?q=1', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:'...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/searching.js
JavaScript
art
887
var mydata = [ {id:"1",invdate:"2010-05-24",name:"test",note:"note",tax:"10.00",total:"2111.00"} , {id:"2",invdate:"2010-05-25",name:"test2",note:"note2",tax:"20.00",total:"320.00"}, {id:"3",invdate:"2007-09-01",name:"test3",note:"note3",tax:"30.00",total:"430.00"}, {id:"4",invdate:"2007-10-04",name:"test...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/38array.js
JavaScript
art
3,648
jQuery("#ainsrow").jqGrid({ url:'server.php?q=1', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/afterinsrow.js
JavaScript
art
1,294
jQuery("#colspan").jqGrid({ url:'server.php?q=4', datatype: "json", colNames:['Date', 'Inv No', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'invdate',index:'invdate', width:90}, { name:'id', key : true, index:'id', width:55, cellattr: function(rowId, valu...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/40colspan.js
JavaScript
art
1,252
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" pageEncoding="GBK"%> <% String examp = request.getParameter("q"); System.out.println(examp); %> { "page":"1", "total":"2", "records":"12", "rows":[ <% if(examp==null||"1".equals(examp)){ %> {"id":"0","cell":["id0","...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/server.jsp
Java Server Pages
art
2,124
jQuery("#frmac").jqGrid({ url:'server.php?q=4', datatype: "json", colNames:[' ', 'Inv No', 'Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name: 'myac', width:80, fixed:true, sortable:false, resize:false, formatter:'actions', formatoptions:{keys:true}}, {name:'id', key : tru...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/40frmactions.js
JavaScript
art
1,120
jQuery("#list12").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:'amount'...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/resizeex.js
JavaScript
art
863
<div style="font-size:12px;"> This example show Autoscrolling feature when a row is selected <br/> Open the edit form and try to navigate from top to the end of grid<br/> using tha pager buttons in the edit form<br/> </div> <br /> <table id="navgrid2"></table> <div id="pagernav2"></div> <script src=...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/navgrid2.html
HTML
art
2,266
var lastsel; function my_input(value, options) { return $("<input type='text' size='10' value='"+value+"'/>"); } function my_value(value) { return "My value: "+value.val(); } jQuery("#cinput").jqGrid({ url:'server.jsp?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Tota...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/36custinput.js
JavaScript
art
1,319
<link rel="stylesheet" type="text/css" media="screen" href="themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="themes/ui.multiselect.css" /> <script src="js/jquery.min.js" ty...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/37scroll.html
HTML
art
3,521
<div style="font-size:12px;"> <p style="width:750px;"> Using the new event <b>cellattr</b> in colModel we can easy configure data span. Note that with cellattribute we can set any valid attribute in the cell including style one </p> </div> <br /> <table id="colspan"></table> <div id="pcolspan"></div> <script...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/40colspan.html
HTML
art
1,784
jQuery("#crud").jqGrid({ url:'server.jsp?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55, editable:true, editoptions:{readonly:true}, sorttype:'int'}, {name:'invdate',index:'invdate', width:90, sorttype...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/37crud.js
JavaScript
art
1,272
jQuery("#navgrid").jqGrid({ url:'editing.php?q=1', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Closed','Ship via','Notes'], colModel:[ {name:'id',index:'id', width:55,editable:false,editoptions:{readonly:true,size:10}}, {name:'invdate',index:'invdate', widt...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/navgrid.js
JavaScript
art
1,571
<div style="font-size:12px;"> With this example we demonstrate 3 new methods <br/> 1. navButtonAdd - with help of this method we can add custom buttons in page bar. <br/> 2. GridToForm - this method fill the form data from grid with a given row id and form id. <br/> 3. FormToGrid - this method fill ...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/custbutt.html
HTML
art
6,306
jQuery("#list10").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:'amount'...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/masterex.js
JavaScript
art
2,238
<div style="font-size:12px;"> This is a first of series integrations with other plugins. First of them is Datepicker.<br> Try to click on some row and select the Last Sales cell - a datapicker will popup. <br> </div> <br /> <table id="rowed6"></table> <script src="calen.js" type="text/javascript"></script> <br /...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/calendar.html
HTML
art
2,773
<link rel="stylesheet" type="text/css" media="screen" href="themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="themes/ui.multiselect.css" /> <script src="js/jquery.min.js" ty...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/36sortrows.html
HTML
art
2,244
<div style="font-size:12px;"> Of course Right To Left Languages are supported.<br/> </div> <br /> <table id="list484"></table> <div id="plist484"></div> <script src="38array4.js" type="text/javascript"></script> <br /> <div style="font-size:12px;"> <b> HTML </b> <XMP> ... <table id="list47"></table> <d...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/38array4.html
HTML
art
4,048
jQuery("#listdt").jqGrid({ //url:'server.php?q=2', datatype : function (pdata) { $.ajax({ url:'server.php?q=2', data:pdata, dataType:"json", complete: function(jsondata,stat){ if(stat=="success") { var thegrid = jQuery("#listdt")[0]; thegrid.addJSONData(eval("("+json...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/datatype.js
JavaScript
art
1,362
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>jqGrid Demos</title> <link rel="stylesheet" type=...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/jqgrid.html
HTML
art
5,361
<link rel="stylesheet" type="text/css" media="screen" href="themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="themes/ui.jqgrid.css" /> <link rel="stylesheet" type="text/css" media="screen" href="themes/ui.multiselect.css" /> <script src="js/jquery.min.js" ty...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/37crud.html
HTML
art
2,452
<table id="list1"></table> <div id="pager1"></div> <br/> <br/> <div id="acc_list1"> <div> <h3><a href="#">HTML and Java script </a></h3> <div style="font-size:12px;"> <XMP> <html> ... <table id="list1"></table> <div id="pager1"></div> ... </html> <script type="text/javascript"> jQuery()....
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/xmlex.html
HTML
art
4,209
<div style="font-size:12px;"> This example show Client side validation in form edit.Again with this there is a<br/> option to edit easy initially hidden fields. You can see that the field tax is hidden,<br/> but in the form it is editable. The alowed values in tax fields are between 40 and 100<br/> ...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/csvalid.html
HTML
art
2,287
<div style="font-size:12px;"> This example show how we can load array data. In this case we use a addRowData method. </div> <br /> <table id="list4"></table> <script src="localex.js" type="text/javascript"></script> <br /> <div style="font-size:12px;"> <b> HTML </b> <XMP> ... <table id="list4"></tab...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/localex.html
HTML
art
2,110
jQuery("#colr").jqGrid({ sortable: true, url:'server.jsp?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name asc, invdate', wid...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/36colreorder.js
JavaScript
art
839
<link rel="stylesheet" type="text/css" media="screen" href="themes/redmond/jquery-ui-1.8.2.custom.css" /> <link rel="stylesheet" type="text/css" media="screen" href="themes/ui.jqgrid.css" /> <script src="js/jquery.min.js" type="text/javascript"></script> <script src="js/i18n/grid.locale-en.js" type="text/javasc...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/36ajaxing.html
HTML
art
2,292
jQuery("#delgrid").jqGrid({ url:'editing.php?q=1', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Closed','Ship via','Notes'], colModel:[ {name:'id',index:'id', width:55,editable:false,editoptions:{readonly:true,size:10}}, {name:'invdate',index:'invdat...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/deleting.js
JavaScript
art
1,580
<p style="font-size:12px;"> This sample demonstrates how jqGrid works with large amount of data.<br> We have put into a table in a Mysql database about 12.000 records filled with random words. jqGrid, using Ajax, loads only those records, that are visible.<br> If you want to make a search (just enter some word into ...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/bigset.html
HTML
art
5,052
<div style="font-size:12px;"> It is possible to tell the grid to hide the grouping column.<br/> This is done with the groupColumnShow option in the groupingView object.<br/><br/> Note that all groupingView options can be changed dynamically. </div> <br /> <table id="list482"></table> <div id="plist48...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/38array2.html
HTML
art
4,257
var mygrid = jQuery("#s3list").jqGrid({ url:'search.php?q=1', datatype: "json", width: 700, colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:65}, {name:'invdate',index:'invdate', width:90,searchoptions:{dataInit:function(el){$(e...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/search3.js
JavaScript
art
1,539
var mydata = [ {id:"1",invdate:"2010-05-24",name:"test",note:"note",tax:"10.00",total:"2111.00"} , {id:"2",invdate:"2010-05-25",name:"test2",note:"note2",tax:"20.00",total:"320.00"}, {id:"3",invdate:"2007-09-01",name:"test3",note:"note3",tax:"30.00",total:"430.00"}, {id:"4",invdate:"2007-10-04",name:"test...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/37array.js
JavaScript
art
3,853
jQuery("#method32").jqGrid({ url:'server.php?q=1', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/methods32.js
JavaScript
art
1,256
jQuery("#custbut").jqGrid({ url:'server.php?q=1', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/custbutt.js
JavaScript
art
1,303
<div style="font-size:12px;"> This example show how we can delete data.<br/> See below for all available options. <br/> Note: The data is not deleted from server<br/> </div> <br /> <table id="delgrid" ></table> <div id="pagerde"></div> <input type="BUTTON" id="dedata" value="Delete Selected" /> <sc...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/deleting.html
HTML
art
4,479
function mycheck(value, name) { if(parseFloat(value) >= 200 && parseFloat(value)<=300) { return [true,"",""]; } else { return [false,name+": The value should be between 200 and 300!",""]; } } jQuery("#custv").jqGrid({ url:'server.jsp?q=2', datatype: "json", colNames:['Inv No','Date', 'Client',...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/36custvalid.js
JavaScript
art
1,236
jQuery("#list2").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name asc, invdate', width:100}, {n...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/jsonex.js
JavaScript
art
813
jQuery("#params").jqGrid({ url:'server.php', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:'amou...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/defparams.js
JavaScript
art
1,033
jQuery("#list6").jqGrid({ url:'server.php?q=2&nd='+new Date().getTime(), datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', ...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/getex.js
JavaScript
art
1,014
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" pageEncoding="GBK"%> <% String examp = request.getParameter("q"); System.out.println(examp); String pa = request.getParameter("page"); System.out.println(pa); %> { "page":<%= pa %>, "total":"100", "records":"1000", "...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/bigset.jsp
Java Server Pages
art
1,120
<div style="font-size:12px;"> Another usefull option requestated many times: Now we can show the summary footer row<br/> when the group header is collapsed. This is done with the option showSummaryOnHide set to true.<br/><br/> </div> <br /> <table id="58remote2"></table> <div id="p58remote2"></div> <scri...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/38remote5.html
HTML
art
3,724
<div style="font-size:12px;"> In this example we demonstrate the abilty to have a summary information at each group footer <br/> The appropriate options is groupSummary which enable/disable footer summary<br/> In order to work this we added two additional properties in colModel - summaryType which descri...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/38array6.html
HTML
art
4,927
jQuery("#multiple37").jqGrid({ url:'server.jsp',//url:'localset.php', datatype: "json", height: 255, width: 600, colNames:['Index','Name', 'Code'], colModel:[ {name:'item_id',index:'item_id', width:65, sorttype:'int'}, {name:'item',index:'item', width:150,searchoptions:{sopt:['eq','cn',...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/37multiple.js
JavaScript
art
924
jQuery("#48remote4").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55, editable:true, sorttype:'int',summaryType:'count', summaryTpl : '({0}) total'}, {name:'invdate',index:'invd...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/38remote4.js
JavaScript
art
1,622
<div style="font-size:12px;"> It is possible to load the subgrid data only once and then just to hide/show it, <br/> without to make additional ajax call to the server<br/> This is done just with one option - see the code. <br/> </div> <br /> <table id="sg3"></table> <div id="psg3"></div> <script src="40subgrid...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/40subgrid3.html
HTML
art
5,899
<div style="font-size:12px;"> This example demostartes the visibility of sortable columns <br> </div> <br /> <table id="list2s"></table> <div id="pager2s"></div> <script src="sortcols.js" type="text/javascript"> </script> <br /> <div style="font-size:12px;"> <b> HTML </b> <XMP> ... <table id="list2s"></...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/sortcols.html
HTML
art
2,747
<div style="font-size:12px;"> This example demonstartes setting of common grid parameters. <br/> After setting this parameters a Rows and Loading messages will be changed. <br/> Reopen the grid to view this.Note that all parameters can be changed. </div> <br/> <table id="params"></table> <d...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/defparams.html
HTML
art
3,833
jQuery("#hideshow").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name asc, invdate', width:100...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/hideshow.js
JavaScript
art
1,049
jQuery("#listdnd").tableDnD({scrollAmount:0}); jQuery("#listdnd").jqGrid({ url:'server.php?q=1', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/tablednd.js
JavaScript
art
996
<div style="font-size:12px;"> This example show the new scrolling grid feature. The data is loaded when you scroll <br> the grid. Try to scroll and see what is happen. This method can be improwed when we <br> want to load relative big data. Note the automatic disabling of pager elements. </div> <br /> <table i...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/scrgrid.html
HTML
art
3,086
jQuery("#toolbar1").jqGrid({ url:'server.php?q=1', datatype: "xml", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:'amount...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/toolbar.js
JavaScript
art
2,190
jQuery("#setcols").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55,hidedlg:true}, {name:'invdate',index:'invdate', width:90,editable:true}, {name:'name',index:'name asc, i...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/setcolumns.js
JavaScript
art
978
<div style="font-size:12px;"> We can change the icons of the subgrid. This is done with the option of the subgrid,<br/> which point to a icon of Theme roller. </div> <br /> <table id="sg1"></table> <div id="psg1"></div> <script src="40subgrid1.js" type="text/javascript"> </script> <br /> <div style="font-size:1...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/40subgrid1.html
HTML
art
5,627
<div style="font-size:12px;"> A Form editing module changes a lot adding very usefull features. Thanks to Faserline <code>www.faserline.com</code><br/> Here we demonstrate the following features: <br/> closeOnEscape, modal which cover only the grid, a new gridView method, changing the labels of the fiel...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/navgrid3.html
HTML
art
4,026
<div style="font-size:12px;"> This example demonstrates dynamic resizing of grid. It is known that <br> the width of grid is sum of the width of the columns. We can overwrite<br> this by setting the grid width. In this case the column width are <br> scaled to the new width.<br> With setting the height to 100% we c...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/resizeex.html
HTML
art
3,083
jQuery("#list15").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/loadcml.js
JavaScript
art
1,149
var lastsel; jQuery("#rowed3").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90, editable:true}, {name:'name',index:'name', wid...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/rowedex3.js
JavaScript
art
1,117
<div style="font-size:12px;"> This example show how we can load data once from Server. Note that in this case pager is disabled. </div> <br /> <table id="list3"></table> <div id="pager3"></div> <script src="loadoncex.js" type="text/javascript"></script> <br /> <div style="font-size:12px;"> <b> HTML </...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/loadoncex.html
HTML
art
2,792
jQuery("#list7").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:'amount',...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/setex.js
JavaScript
art
1,925
jQuery("#rowed1").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90, editable:true}, {name:'name',index:'name', width:100,editabl...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/rowedex1.js
JavaScript
art
1,433
jQuery("#list5").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name', width:100}, {name:'...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/manipex.js
JavaScript
art
1,900
jQuery("#gwidth").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55}, {name:'invdate',index:'invdate', width:90}, {name:'name',index:'name asc, invdate', width:100}, {...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/gridwidth.js
JavaScript
art
1,478
<div style="font-size:12px;"> This example demonstartes the new option hiddengrid. If set to true the grid initially is hidden. The data is not loaded <br/> (no request is made) and only the caption layer is shown. When click to show grid (first time only) <br/> the data is loaded and grid is shown. From thi...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/hiddengrid.html
HTML
art
3,772
<div style="font-size:12px;"> We can have a full control on what is done at server side when we save the data. <br> It is well known that the post can be successful, but the same saving to the database can be not.<br> To control that we can use a callback function when data is saving to the server.<br> The function...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/rowedex4.html
HTML
art
4,034
/* jQuery("#single").jqGrid({ url:'localset.php', datatype: "json", height: 255, width: 600, colNames:['Index','Name', 'Code'], colModel:[ {name:'item_id',index:'item_id', width:65, sorttype:'int'}, {name:'item',index:'item', width:150}, {name:'item_cd',index:'item_cd', width:100...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/37single.js
JavaScript
art
2,189
<div style="font-size:12px;"> This example demonstrates using a subgrid.<br> <del><b>Note:</b> Currently subgrid can work only with xml data. Json is in progress.</del> </div> <br /> <table id="list11"></table> <div id="pager11"></div> <script src="subgrid.js" type="text/javascript"> </script> <br /> <div styl...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/subgrid.html
HTML
art
4,736
jQuery("#58remote2").jqGrid({ url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:[ {name:'id',index:'id', width:55, editable:true, sorttype:'int',summaryType:'count', summaryTpl : '({0}) total'}, {name:'invdate',index:'invd...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/38remote5.js
JavaScript
art
1,495
<?php include("dbconfig.php"); $examp = $_REQUEST["q"]; //query number $page = $_REQUEST['page']; // get the requested page $limit = $_REQUEST['rows']; // get how many rows we want to have into the grid $sidx = $_REQUEST['sidx']; // get index row - i.e. user click to sort $sord = $_REQUEST['sord']; // get the...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/editing.php
PHP
art
5,017
var mydata = [ {id:"1",invdate:"2010-05-24",name:"test",note:"note",tax:"10.00",total:"2111.00"} , {id:"2",invdate:"2010-05-25",name:"test2",note:"note2",tax:"20.00",total:"320.00"}, {id:"3",invdate:"2007-09-01",name:"test3",note:"note3",tax:"30.00",total:"430.00"}, {id:"4",invdate:"2007-10-04",name:"test...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/38array4.js
JavaScript
art
3,643
<div style="font-size:12px;"> This module is contributed from Peter Romianowski <br> The module convert existing html table to Grid<br> </div> <br /> <br/> <a href="#" id="ttogrid">Convert To Grid</a> <br/><br> <div style="width:500px;"> <table id="mytable" border="1"> <thead> <tr> <th>Header1</th>...
zzh-simple-hr
ZJs/webapp/grid/jqgrid/demo40/tbltogrid.html
HTML
art
1,371