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>
This example show a online editing and saving row. This is done when the user click on some row.<br>
Note the use of a second parameter of editRow method. This way when we press Enter data is saved<br>
to the server and when we press ESC key the editing is canceled.
</div>
<br />
<table id="rowed3" class="s... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/rowedex3.html | HTML | gpl2 | 3,437 |
<div>
This example show how we can add dialog for data editing.<br/>
See below for all available options. <br/>
Note: The data is not saved to the server<br/>
</div>
<br />
<table id="editgrid" class="scroll" cellpadding="0" cellspacing="0"></table>
<div id="pagered" class="scroll" style="text-align:... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/editing.html | HTML | gpl2 | 5,263 |
var lastsel3;
jQuery("#rowed6").jqGrid({
datatype: "local",
height: 250,
colNames:['ID Number','Last Sales','Name', 'Stock', 'Ship via','Notes'],
colModel:[
{name:'id',index:'id', width:90, sorttype:"int", editable: true},
{name:'sdate',index:'sdate',width:90, editable:true, sorttype:"da... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/calen.js | JavaScript | gpl2 | 2,145 |
<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 ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/bigset.html | HTML | gpl2 | 5,145 |
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... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/defparams.js | JavaScript | gpl2 | 1,022 |
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:'... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/searching.js | JavaScript | gpl2 | 913 |
jQuery("#treegrid").jqGrid({
url: 'server.php?q=tree',
treedatatype: "xml",
mtype: "POST",
colNames:["id","Account","Acc Num", "Debit", "Credit","Balance"],
colModel:[
{name:'id',index:'id', width:1,hidden:true,key:true},
{name:'name',index:'name', width:180},
{name:'num',index:'acc... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/treegrid.js | JavaScript | gpl2 | 712 |
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... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/datatype.js | JavaScript | gpl2 | 1,368 |
jQuery("#list9").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', width:10... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/multiex.js | JavaScript | gpl2 | 1,067 |
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... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/rowedex3.js | JavaScript | gpl2 | 1,105 |
<div>
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 here is that we can apply ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/gridwidth.html | HTML | gpl2 | 4,256 |
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... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/rowedex1.js | JavaScript | gpl2 | 1,412 |
<div>
This example accepting json data in the format of type:<br>
{ total: xxx, page: yyy, records: zzz, rows: [ <br>
{name1:”Row01″,name2:”Row 11″,name3:”Row 12″,name4:”Row 13″,name5:”Row 14″}, <br>
...<br>
Note the MySQL PHP code.
</div>
<br />
<table id="jsonmap" class="scroll" cellpadding="0" cellspacing="0... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/jsonmap.html | HTML | gpl2 | 2,750 |
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},
{... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/gridwidth.js | JavaScript | gpl2 | 1,457 |
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', ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/getex.js | JavaScript | gpl2 | 1,040 |
jQuery("#loaderr").jqGrid({
url:'server_bad.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},
{n... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/loaderror.js | JavaScript | gpl2 | 965 |
<div>
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 accept one parameter - ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/rowedex4.html | HTML | gpl2 | 4,153 |
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:... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/afterinsrow.js | JavaScript | gpl2 | 1,272 |
<div>
This example demonstartes constructing of two grids and how we <br>
can realize master detail.Try to click row on Invoice Header.
</div>
<br />
<table id="list10" class="scroll" cellpadding="0" cellspacing="0"></table>
<div id="pager10" class="scroll" style="text-align:center;"></div>
<br />
<table id="li... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/masterex.html | HTML | gpl2 | 6,450 |
<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>
<X... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/demo.html | HTML | gpl2 | 6,666 |
jQuery("#scrgrid").jqGrid({
url:'server.php?q=5',
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},
... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/scrgrid.js | JavaScript | gpl2 | 883 |
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... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/toolbar.js | JavaScript | gpl2 | 2,190 |
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... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/methods32.js | JavaScript | gpl2 | 1,234 |
jQuery("#hidengrid").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},
{nam... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/hiddengrid.js | JavaScript | gpl2 | 881 |
<div>
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 loaded data.<br>
T... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/loadcml.html | HTML | gpl2 | 3,661 |
jQuery("#ttogrid").click(function (){
tableToGrid("#mytable");
}); | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/tbltogrid.js | JavaScript | gpl2 | 69 |
jQuery("#celltbl").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 asc, invdate', widt... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/celledit.js | JavaScript | gpl2 | 1,559 |
<div>
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>
<th>Header2</th>
<th>... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/tbltogrid.html | HTML | gpl2 | 1,310 |
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... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/hideshow.js | JavaScript | gpl2 | 1,035 |
<?php
/************************************************************************
* CSS and Javascript Combinator 0.5
* * Copyright 2006 by Niels Leenheer
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software")... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/combine.php | PHP | gpl2 | 4,814 |
;(function ($) {
/*
* jqGrid 3.4.3 - jQuery Grid
* Copyright (c) 2008, Tony Tomov, tony@trirand.com
* Dual licensed under the MIT and GPL licenses
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
* Date: 2009-03-12 rev 84
*/
$.fn.jqGrid = function( p ) {
p =... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.base.js | JavaScript | gpl2 | 55,779 |
;(function($){
/**
* jqGrid extension
* Paul Tiseo ptiseo@wasteconsultants.com
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.fn.extend({
getPostData : function(){
var $t = this[0];
if(!$t.grid)... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.postext.js | JavaScript | gpl2 | 1,601 |
;(function($){
/**
* jqGrid German Translation
* Version 1.0.0 (developed for jQuery Grid 3.3.1)
* Olaf Klöppel opensource@blue-hit.de
* http://blue-hit.de/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-de.js | JavaScript | gpl2 | 3,620 |
;(function($){
/**
* jqGrid Persian Translation
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recordtext: "رديف",
loadtext: "بارگزاري...",
pgtext : "/"
};
$.jgrid.s... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-fa.js | JavaScript | gpl2 | 4,083 |
;(function($){
/**
* jqGrid Greek (el) Translation
* Alex Cicovic
* http://www.alexcicovic.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recordtext: "Εγγραφές",
... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-el.js | JavaScript | gpl2 | 4,611 |
/*
Transform a table to a jqGrid.
Peter Romianowski <peter.romianowski@optivo.de>
If the first column of the table contains checkboxes or
radiobuttons then the jqGrid is made selectable.
*/
// Addition - selector can be a class or id
function tableToGrid(selector) {
$(selector).each(function() {
if(this.grid) {re... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.tbltogrid.js | JavaScript | gpl2 | 2,719 |
;(function($){
/**
* jqGrid extension for SubGrid Data
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.fn.extend({
addSubGrid : function(t,row,pos,r... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.subgrid.js | JavaScript | gpl2 | 7,827 |
/*
* jqModal - Minimalist Modaling with jQuery
* (http://dev.iceburg.net/jquery/jqModal/)
*
* Copyright (c) 2007,2008 Brice Burgess <bhb@iceburg.net>
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* $Version: ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/jqModal.js | JavaScript | gpl2 | 3,355 |
/**
* Styleswitch stylesheet switcher built on jQuery
* Under an Attribution, Share Alike License
* By Kelvin Luck ( http://www.kelvinluck.com/ )
**/
/*
$(document).ready(function() {
$('.styleswitch').click(function()
{
switchStylestyle(this.getAttribute("rel"));
return false;
});
var c = readCookie('style');... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/styleswitch.js | JavaScript | gpl2 | 1,287 |
;(function ($) {
$.fn.jqTree = function( url, p ) {
p = $.extend({
useDblClicks : false, //not used yet
saveNodesStateInCookies : true,
expandedClassName : "",
collapsedClassName: "collapsed",
selectedClassName : "selected",
plusMinusClassName : "plusminus",
treeClass : "tree",
imgpath: "",
collapsed... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/jquery.jqTree.js | JavaScript | gpl2 | 14,642 |
/*
* jquery.splitter.js - two-pane splitter window plugin
*
* version 1.01 (01/05/2007)
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*/
/**
* The splitter() plugin implements a two-pane resizable splitter... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/jquery.splitter.js | JavaScript | gpl2 | 7,873 |
;(function($){
/**
* jqGrid Czech Translation
* Pavel Jirak pavel.jirak@jipas.cz
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recordtext: ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-cs.js | JavaScript | gpl2 | 3,579 |
;(function($) {
/*
**
* jqGrid extension - Tree Grid
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.fn.extend({
setTreeNode : function(rd, row){... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.treegrid.js | JavaScript | gpl2 | 11,535 |
;(function($){
/*
**
* jqGrid extension for cellediting Grid Data
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
/**
* all events and options here... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.celledit.js | JavaScript | gpl2 | 15,135 |
;(function($){
/**
* jqGrid English Translation
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recordtext: "Ro... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-en.js | JavaScript | gpl2 | 3,413 |
;(function($){
/**
* jqGrid Russian Translation v1.1 21.01.2009
* Alexey Kanaev softcore@rambler.ru
* http://softcore.com.ru
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults =... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-ru.js | JavaScript | gpl2 | 4,343 |
;(function($){
/**
* jqGrid Bulgarian Translation
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recordtext: ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-bg.js | JavaScript | gpl2 | 4,179 |
;(function($){
/**
* jqGrid extension for form editing Grid Data
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
var rp_ge = null;
$.fn.extend({
se... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.formedit.js | JavaScript | gpl2 | 35,767 |
;(function ($) {
/*
* jqGrid 3.3 - jQuery Grid
* Copyright (c) 2008, Tony Tomov, tony@trirand.com
* Dual licensed under the MIT and GPL licenses
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
* Date: 2008-10-14 rev 64
*/
$.fn.jqGrid = function( p ) {
p = $... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/gridall.js | JavaScript | gpl2 | 148,966 |
;(function($){
/**
* jqGrid (fi) Finnish Translation
* Jukka Inkeri awot.fi
* http://awot.fi
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recordtext: "Rivejä",
... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-fi.js | JavaScript | gpl2 | 3,287 |
function jqGridInclude()
{
var pathtojsfiles = "js/"; // need to be ajusted
// set include to false if you do not want some modules to be included
var combineIntoOne = false;
var combinedInclude = new Array();
var combinedIncludeURL = "combine.php?type=javascript&files=";
var minver = tr... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/jquery.jqGrid.js | JavaScript | gpl2 | 3,633 |
/* jQuery UI Date Picker v3.0 - previously jQuery Calendar
Written by Marc Grabanski (m@marcgrabanski.com) and Keith Wood (kbwood@iprimus.com.au).
Copyright (c) 2007 Marc Grabanski (http://marcgrabanski.com/code/ui-datepicker)
Dual licensed under the MIT (MIT-LICENSE.txt)
and GPL (GPL-LICENSE.txt) licenses... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/ui.datepicker.js | JavaScript | gpl2 | 54,151 |
;(function($){
/**
* jqGrid Swedish Translation
* Anders Nyberg anders.nyberg@alecta.com
* http://wwww.alecta.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recor... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-sv.js | JavaScript | gpl2 | 3,446 |
;(function($){
/**
* jqGrid extension for custom methods
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.fn.extend({
getColProp : function(colname... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.custom.js | JavaScript | gpl2 | 13,651 |
;(function($){
/**
* jqGrid French Translation
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recordtext: "Lig... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-fr.js | JavaScript | gpl2 | 4,125 |
/*
* jqDnR - Minimalistic Drag'n'Resize for jQuery.
*
* Copyright (c) 2007 Brice Burgess <bhb@iceburg.net>, http://www.iceburg.net
* Licensed under the MIT License:
* http://www.opensource.org/licenses/mit-license.php
*
* $Version: 2007.08.19 +r2
*/
(function($){
$.fn.jqDrag=function(h){return i(th... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/jqDnR.js | JavaScript | gpl2 | 1,463 |
;(function($){
/**
* jqGrid Spanish Translation
* Traduccion jqGrid en Espa�ol por Yamil Bracho
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recordtext: "Fila(s)",
lo... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-sp.js | JavaScript | gpl2 | 3,500 |
/**
* jqGrid common function
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
// Modal functions
var showModal = function(h) {
h.w.show();
};
var c... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.common.js | JavaScript | gpl2 | 11,967 |
/*
The below work is licensed under Creative Commons GNU LGPL License.
Original work:
License: http://creativecommons.org/licenses/LGPL/2.1/
Author: Stefan Goessner/2006
Web: http://goessner.net/
Modifications made:
Version: 0.9-p5
Description: Restructured code, JSLint val... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/JsonXml.js | JavaScript | gpl2 | 9,659 |
(function($) {
/*
* jquery.layout 1.1.1
*
* Copyright (c) 2008
* Fabrizio Balliano (http://www.fabrizioballiano.net)
* Kevin Dalman (http://allpro.net)
*
* Dual licensed under the GPL (http://www.gnu.org/licenses/gpl.html)
* and MIT (http://www.opensource.org/licenses/mit-license.php) licenses.
... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/jquery.layout.js | JavaScript | gpl2 | 74,446 |
;(function($){
/**
* jqGrid extension for manipulating columns properties
* Piotr Roznicki roznicki@o2.pl
* http://www.roznicki.prv.pl
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.fn.extend({
setColumns... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.setcolumns.js | JavaScript | gpl2 | 3,251 |
;(function($){
/**
* jqGrid Italian Translation
* Vincenzo Solomita vincenzosolomita@gmail.com
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recordtext: "Record",
load... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-it.js | JavaScript | gpl2 | 3,474 |
// we make it simple as possible
function jqGridInclude()
{
var pathtojsfiles = "js/"; // need to be ajusted
// if you do not want some module to be included
// set include to false.
// by default all modules are included.
var minver = false;
var modules = [
{ include: true, incfile:'gri... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/jquery.jqGrid2.js | JavaScript | gpl2 | 2,399 |
;(function($){
/*
* jqGrid extension for constructing Grid Data from external file
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.fn.extend({
... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.import.js | JavaScript | gpl2 | 5,524 |
/**
* TableDnD plug-in for JQuery, allows you to drag and drop table rows
* You can set up various options to control how the system will work
* Copyright (c) Denis Howlett <denish@isocra.com>
* Licensed like jQuery, see http://docs.jquery.com/License.
*
* Configuration options:
*
* onDragStyle
* This is ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/jquery.tablednd.js | JavaScript | gpl2 | 16,709 |
(function ($) {
$.fn.jqDynTabs = function( p ) {
p = $.extend({
tabcontrol:"",
tabcontent:"",
side: "left",
orientation: "top",
imgpath: "",
onClickTab : null
}, p || {});
this.CreateTab = function(tabName, closable, purl, content,params) {
var thisg = this.get(0);
var clicktab = this;
var tabID = thisg.Name ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/jquery.jqDynTabs.js | JavaScript | gpl2 | 6,828 |
/*
**
* formatter for values but most of the values if for jqGrid
* Some of this was inspired and based on how YUI does the table datagrid but in jQuery fashion
* we are trying to keep it as light as possible
* Joshua Burnett josh@9ci.com
* http://www.greenbill.com
*
* Changes from Tony Tomov tony@trirand.com
... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/jquery.fmatter.js | JavaScript | gpl2 | 14,494 |
;(function($){
/**
* jqGrid Polish Translation
* Piotr Roznicki roznicki@o2.pl
* http://www.roznicki.prv.pl
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recordtext: "... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-pl.js | JavaScript | gpl2 | 3,444 |
;(function($){
/**
* jqGrid extension for manipulating Grid Data
* Tony Tomov tony@trirand.com
* http://trirand.com/blog/
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.fn.extend({
//Editing
editRow : ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.inlinedit.js | JavaScript | gpl2 | 6,601 |
/*
org: 'http://www.JSON.org',
copyright: '(c)2005 JSON.org',
license: 'http://www.crockford.com/JSON/license.html',
Some modifications and additions from Tony Tomov
Added parse function to prevent JSON Hijacking
Read below
*/
var JSON = {
stringify: function stringify(arg) {
var c,... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/json2.js | JavaScript | gpl2 | 3,537 |
;(function($){
/**
* jqGrid Turkish Translation
* H.İbrahim Yılmaz ibrahim.yilmaz@karmabilisim.net
* http://www.arkeoloji.web.tr
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.default... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-tr.js | JavaScript | gpl2 | 3,557 |
;(function($){
/**
* jqGrid Danish Translation
* Kaare Rasmussen kjs@jasonic.dk
* http://jasonic.dk/blog
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
**/
$.jgrid = {};
$.jgrid.defaults = {
recordtext: "Ræ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/js/grid.locale-dk.js | JavaScript | gpl2 | 3,363 |
<?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... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/editing.php | PHP | gpl2 | 5,017 |
<div>
This example demonstrates using a subgrid with JSON Data. To the subgrid url is passed the id of the row.<br/>
If there is a need to pass another parameters to subgrid url that are part of the grid data a params array <br>
can be constructed. Example: if we want to pass the date too - the subGridModel can look... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/jsubgrid.html | HTML | gpl2 | 4,685 |
<div>
This example demonstartes new methods. Try to click on pager buttons.
</div>
<b>Response:</b> <span id="resp"></span>
<br/>
<br/>
<table id="method" class="scroll" cellpadding="0" cellspacing="0"></table>
<div id="pmethod" class="scroll" style="text-align:center;"></div>
<br />
<a href="javascript:vo... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/methods.html | HTML | gpl2 | 4,572 |
$("#cnvxml").click(function(){
$("#xmlist1").jqGridImport({impurl:"testxml.xml"});
$(this).hide();
}); | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/xmlimp.js | JavaScript | gpl2 | 107 |
jQuery("#list4").jqGrid({
datatype: "local",
height: 250,
colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'],
colModel:[
{name:'id',index:'id', width:60, sorttype:"int"},
{name:'invdate',index:'invdate', width:90, sorttype:"date"},
{name:'name',index:'name', width:100},... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/localex.js | JavaScript | gpl2 | 1,745 |
jQuery("#navgrid2").jqGrid({
scrollrows : true,
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},formatter: 'integer', f... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/navgrid2.js | JavaScript | gpl2 | 1,781 |
<?php
$dbhost = 'localhost';
$dbuser = 'root';
$dbpassword = '';
$database = '';
?>
| zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/dbconfig.php | PHP | gpl2 | 94 |
<div>
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>
Try to change the values o... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/celledit.html | HTML | gpl2 | 4,064 |
<div>
This example demonstartes a setCell and setLabel methods. We can change the contents <br/>
and style of the particular header and cell. Again with this we use a loadui option <br/>
to disable interaction when the data is loaded
</div>
<br/>
<br/>
<table id="method32" class="scroll"></table>
<d... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/methods32.html | HTML | gpl2 | 4,471 |
<div>
This example demostrates the set methods in grid. The set methods in most cases<br>
are combined with .trigger('relodGrid')
</div>
<br />
<table id="list7" class="scroll" cellpadding="0" cellspacing="0"></table>
<div id="pager7" class="scroll" style="text-align:center;"></div>
<br />
<a href="java... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/setex.html | HTML | gpl2 | 4,995 |
<div>
From version 3.2 we can hide and show group of columns at once. <br/>
These methods can accept array as argument as single string too. Try to resize the grid to see how <br/>
these method works <br/>
</div>
<br />
<table id="hideshow" class="scroll"></table>
<div id="phideshow" class="scroll" s... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/hideshow.html | HTML | gpl2 | 3,544 |
<?php
include("dbconfig.php");
// coment the above lines if php 5
include("JSON.php");
$json = new Services_JSON();
// end comment
$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 ... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/search.php | PHP | gpl2 | 3,128 |
<div>
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 id="scrgrid" class="scrol... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/scrgrid.html | HTML | gpl2 | 3,223 |
<div>
This example demonstartes a form search of multi search<br>
Just click on search button.
</div>
<br />
<table id="s2list" class="scroll" cellpadding="0" cellspacing="0"></table>
<div id="s2pager" class="scroll" style="text-align:center;"></div>
<div id="filter" style="margin-left:30%;display:none">... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/search2.html | HTML | gpl2 | 2,863 |
<div>
This example show how we can load array data.
In this case we use a addRowData method.
</div>
<br />
<table id="list4" class="scroll" cellpadding="0" cellspacing="0"></table>
<script src="localex.js" type="text/javascript"></script>
<br />
<b> HTML </b>
<XMP>
...
<table id="list4" class="scroll... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/localex.html | HTML | gpl2 | 2,159 |
<div>
This example demonstartes the new multi serach feature of jqGrid.<br>
The search fields are in the toolbar. Click on search button to toggle the search and enjoy
</div>
<br />
<table id="s1list" class="scroll" cellpadding="0" cellspacing="0"></table>
<div id="s1pager" class="scroll" style="text-ali... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/search1.html | HTML | gpl2 | 4,407 |
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'... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/masterex.js | JavaScript | gpl2 | 2,143 |
<?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
$json =... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/example.php | PHP | gpl2 | 2,739 |
<div>
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 this point we have a regula... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/hiddengrid.html | HTML | gpl2 | 3,828 |
<div>
This example show how we can load JSON data with custom data type functon <br>
i.e. the data is obtained not with the url parameter but with custom function.
</div>
<br />
<table id="listdt" class="scroll" ></table>
<div id="pagerdt" class="scroll" style="text-align:center;"></div>
<script src="da... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/datatype.html | HTML | gpl2 | 3,508 |
<div>
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 can scale the height of t... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/resizeex.html | HTML | gpl2 | 3,202 |
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... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/editing.js | JavaScript | gpl2 | 1,577 |
<div>
From now jqGrid can accept XML and JSON data with arbitrary structure. In this release we introduce a xmlReader and jsonReader.<br>
This way we can analyze and display a wide range of data structures. More information will be<br>
available in the upcoming documentation.<br>
<a href="books.xml" target="_blank"... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/xmlmap.html | HTML | gpl2 | 1,519 |
jQuery("#jsonopt").jqGrid({
url:'server.php?q=5',
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},
... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/jsonopt.js | JavaScript | gpl2 | 901 |
jQuery("#list14").jqGrid({
url:'server.php?q=2',
datatype: "json",
height: 200,
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},
... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/jsubgrid.js | JavaScript | gpl2 | 1,064 |
<!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 Demo</title>
<style>
html, body {
margin: 0; /* Remov... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/example.html | HTML | gpl2 | 3,818 |
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'... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/search2.js | JavaScript | gpl2 | 2,027 |
<div>
This example show how we can add dialog for adding data.<br/>
See below for all available options. <br/>
Note: The data is not saved to the server<br/>
</div>
<br />
<table id="addgrid" class="scroll" cellpadding="0" cellspacing="0"></table>
<div id="pagerad" class="scroll" style="text-align:ce... | zzyn125-bench | BigMelon/Backup/jslib_backup/jqgrid_demo/adding.html | HTML | gpl2 | 5,281 |