Deprecated: iconv_set_encoding(): Use of iconv.internal_encoding is deprecated in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/string/string.php on line 28

Deprecated: iconv_set_encoding(): Use of iconv.input_encoding is deprecated in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/string/string.php on line 29

Deprecated: iconv_set_encoding(): Use of iconv.output_encoding is deprecated in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/string/string.php on line 30

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
Working with Row Data

Most Popular  


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
   

Deprecated: Non-static method PhocaGalleryPath::getPath() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/plugins/content/phocagallery/phocagallery.php on line 57

Deprecated: Non-static method PhocaGalleryPath::getInstance() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/administrator/components/com_phocagallery/libraries/phocagallery/path/path.php on line 36

Deprecated: Non-static method PhocaGalleryLibrary::getLibrary() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/plugins/content/phocagallery/phocagallery.php on line 64

Deprecated: Non-static method PhocaGalleryLibrary::getInstance() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/administrator/components/com_phocagallery/libraries/phocagallery/library/library.php on line 44

Deprecated: Non-static method PhocaGalleryPath::getPath() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/plugins/content/phocagalleryslideshow/phocagalleryslideshow.php on line 40

Deprecated: Non-static method PhocaGalleryPath::getInstance() should not be called statically, assuming $this from incompatible context in /home/datamerx/public_html2/codemerx/jqgrid/administrator/components/com_phocagallery/libraries/phocagallery/path/path.php on line 36

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652

Working with Row Data

This comes to demonstrate how the row data currently displayed in jqGrid could be queried. In the gridComplete event the most recent date in the "Date" column is found. It's then displayed in the input box below the grid.

         $(document).ready(function () {
            'use strict';
             var gidData = [
                    { id: "1", orderdate: "2013-10-01", customer: "customer",  price: "200.00", vat: "10.00", completed: true, shipment: "TN", total: "210.00"},
                    { id: "2", orderdate: "2013-10-01", customer: "customer2",  price: "300.00", vat: "20.00", completed: false, shipment: "FE", total: "320.00"},
                    { id: "3", orderdate: "2011-07-30", customer: "customer3",  price: "400.00", vat: "30.00", completed: false, shipment: "FE", total: "430.00"},
                    { id: "4", orderdate: "2013-10-04", customer: "customer4",  price: "200.00", vat: "10.00", completed: true, shipment: "TN", total: "210.00"},
                    { id: "5", orderdate: "2013-11-31", customer: "customer5",  price: "300.00", vat: "20.00", completed: false, shipment: "FE", total: "320.00"},
                    { id: "6", orderdate: "2013-09-06", customer: "customer6",  price: "400.00", vat: "30.00", completed: false, shipment: "FE", total: "430.00"},
                    { id: "7", orderdate: "2011-08-30", customer: "customer7",  price: "200.00", vat: "10.00", completed: true, shipment: "TN", total: "210.00"},
                    { id: "8", orderdate: "2013-10-03", customer: "customer8",  price: "300.00", vat: "20.00", completed: false, shipment: "FE", total: "320.00"},
                    { id: "9", orderdate: "2013-09-01", customer: "customer9",  price: "400.00", vat: "30.00", completed: false, shipment: "TN", total: "430.00"},
                    { id: "10", orderdate: "2013-09-08", customer: "customer10", price: "702.00", vat: "30.00", completed: true, shipment: "IN", total: "530.00"},
                    { id: "11", orderdate: "2013-09-08", customer: "customer11",  price: "500.00", vat: "30.00", completed: false, shipment: "FE", total: "530.00"},
                    { id: "12", orderdate: "2013-09-10", customer: "customer12",  price: "500.00", vat: "30.00", completed: false, shipment: "FE", total: "530.00"}
                ],
                theGrid = $("#theGrid"),
                numberTemplate = {formatter: 'number', align: 'right', sorttype: 'number'}

        
            theGrid.jqGrid({
                datatype: 'local',
                data: gidData,
                colNames: ['Customer', 'Date',  'Price', 'VAT', 'Total', 'Completed', 'Shipment'],
                colModel: [              	 
				    	  {name: 'customer', index: 'customer', width: 90, editable:true},
                    {name: 'orderdate', index: 'orderdate', width: 100, align: 'center', sorttype: 'date',
                        formatter: 'date', datefmt: 'd-M-Y'},
                    {name: 'price', index: 'price', width: 55, template: numberTemplate},
                    {name: 'vat', index: 'vat', width: 42, template: numberTemplate},
                    {name: 'total', index: 'total', width: 50, template: numberTemplate},
                    {name: 'completed', index: 'completed', width: 30, align: 'center', formatter: 'checkbox',
                        edittype: 'checkbox', editoptions: {value: 'Yes:No', defaultValue: 'Yes'}},
                    {name: 'shipment', index: 'shipment', width: 80, align: 'center', formatter: 'select',
                       edittype: 'select', editoptions: {value: 'FE:FedEx;TN:TNT;IN:Intime;us:USPS', defaultValue: 'Intime'}}                  
                ],
                autowidth: true,
				    gridview: true,             
				    rownumbers: false,
                rowNum: 10,
                rowList: [5, 10, 15],
                pager: '#gridPager',
                viewrecords: true,	
                caption: 'Edit Commands Buttons',
                height: '100%',
                gridComplete : function () {
											var maxDate; 
											var rowIDs = jQuery("#theGrid").jqGrid('getDataIDs');
											for (var i = 0; i < rowIDs.length ; i++) 
											{
												var rowID = rowIDs[i];
												var row = jQuery('#theGrid').jqGrid ('getRowData', rowID);

												if(i==0)
												{
													maxDate = new Date(row.orderdate);
												}
												else
												{
													if(maxDate < new Date(row.orderdate))
                                    	{	
                                       	maxDate = new Date(row.orderdate);
                                    	}  				   						
												}		
											}
											
											$("#maxDateField").val(maxDate);
		  								}
            });
        });

 


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
Posted: 2 years 10 months ago by Yogesh #373

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
Yogesh's Avatar
plz give a simple code related to gridview in mvc4
Posted: 2 years 9 months ago by Jane #413

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
Jane's Avatar
Thanks for date example.
Have a question: Is the simple way to validate 2 dates(From-To) using multipleSearch:true in Search dialog.
For example, i need to set two dates (From - using MoreThan option and To - using LessThan) in Search dialog for choose an interval.
How to valdate it (max Date of "From" - is the min of "To" and on the contrary)
Thanks
Posted: 2 years 9 months ago by Cerberus #416

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
Cerberus's Avatar
Jane, you could use the onSearch callback. That is fired right before the search values get sent to the server.

This discussion will fit better in the message board, though.
Posted: 2 years 4 months ago by ChennaiCreator #522

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
ChennaiCreator's Avatar
Easy to understand Thanks for sharing...
Posted: 2 years 4 months ago by ChennaiCreator #524

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
ChennaiCreator's Avatar
Here you can find complete example about the JqGrid MVC with simple example to download also,

http://www.jqueryrock.com/2014/08/jqgrid-tutorial.html

B) B) B) B)
Posted: 7 months 1 week ago
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
by dinhphucmywork1
#5651

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
dinhphucmywork1's Avatar
Wonderful site and I wanted to post a note to let you know, ""Good job""! I’m glad I found this blog. Brilliant and wonderful job ! Your blog site has presented me most of the strategies which I like. Thanks for sharing this. Donkey Kong, donkey kong game, donkey kong country, donkey kong 64
Posted: 5 months 2 weeks ago
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
by muneer ahmed
#5880

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
muneer ahmed's Avatar
Undeniably, it is continually auspicious to level up empowering you to be taking care of business everytime you take a seat interpretation of the test. gamekiller.apk
Posted: 5 months 6 days ago
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
by head soccer
#5950

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
head soccer's Avatar
head soccer 2 is second generation two player game ofhead soccer games serie! Funny sports heads soccer games are here for kids entertainment head soccer unblocked and soccer heads or big head basketball or big head soccer , big head football . Big Head Soccer championship is well known online soccer game , you can play big head basketball or Head Soccer also Big Head Football . Good news for football games lovers! Another legendary football game which name is Big Head Football with many interesting games head soccer and Big head soccer or big head basketball . Now choose big head basketball . You can play free head soccer and Big head soccer . Big Head Football is also good chose!
Posted: 2 months 2 weeks ago
Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
by wengdongdong7
#6371

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
wengdongdong7's Avatar
1q
north face jackets
ugg outlet
ugg boots
rolex watches outlet
sac longchamp
christian louboutin shoes
canada goose outlet
coach factory outlet
coach factory outlet
ugg italia
christian louboutin paris
michael kors outlet
toms sale
fitflops
chaussures christian louboutin
ugg australia
true religion outlet
ray ban wayfarer
cheap uggs
louis vuitton outlet
burberry outlet
true religion jeans
louis vuitton uk
ugg boots
rolex watches
ugg outlet
louis vuitton outlet
prada outlet
michael kors handbags
nike outlet store
ralph lauren polo outlet
oakley sunglasses
ugg boots
true religion jeans
tommy hilfiger outlet
basketball shoes
burberry outlet
asics running shoes
ugg sale
louis vuitton outlet
michael kors handbags
louis vuitton
uggs for women
louis vuitton outlet
boston celtics jerseys
instyler curling iron
tiffany and co
denver broncos jerseys
cheap ugg boots
mlb jerseys
san antonio spurs jerseys
tods shoes
louis vuitton
mbt outlet
cheap uggs
michael kors outlet
ugg boots uk
coach outlet
louis vuitton outlet
adidas yeezy
mont blanc pens
uggs on sale
the north face
ugg canada
uggs on sale
ed hardy clothing
ugg outlet
mulberry handbags
kate spade
pandora jewelry
coach canada
mont blanc pens for sale
adidas trainers
coach outlet
oakley sunglasses
ray ban pas cher
canada goose outlet store
vans shoes outlet
new york knicks jerseys
toms shoes
ralph lauren polo
uggs for cheap
michael kors outlet
ugg boots sale
pandora jewelry
oakley sunglasses
timberland boots
coach outlet
coach factory outlet
cheap uggs
pandora jewelry
uggs on sale
ray ban glasses
kate spade outlet
louis vuitton outlet
cheap jordans
louis vuitton handbags
fitflop shoes
cheap uggs
coach outlet online
canada goose outlet
pittsburgh steelers jerseys
louis vuitton outlet stores
louis vuitton
michael kors outlet
michael kors uk
oakley store
louis vuitton outlet
nba jerseys
louis vuitton outlet
replica rolex watches
pandora jewelry
ugg boots
oakley sunglasses
red bottom shoes
ugg boots
[url=http://www.michaelkors--outlet.com.co]michael kors outlet[/url]
cheap ray ban sunglasses
cheap jordans
gucci uk
uggs boots
louis vuitton
tiffany and co
uggs on sale
adidas yeezy 350
ray ban wayfarer
oakley sunglasses
ugg outlet
canada goose outlet
prada handbags
roshe run
ugg boots
toms shoes
canada goose outlet
ugg boots
true religion outlet
louis vuitton handbags
polo ralph lauren
uggs australia
uggs outlet
hollister kids
michael kors canada
christian louboutin shoes
coach bags
dallas mavericks jerseys
ugg boots
cheap jordan shoes
ugg boots
coach outlet store online
ray ban sunglasses uk
ray ban sunglasses
coach outlet store online
louis vuitton handbags
ugg boots uk
ugg sale
canada goose jackets
louis vuitton handbags
timberland boots
nike outlet
nfl jerseys wholesale
oklahoma city thunder jerseys
oakley sunglasses
toms wedges
nike tn pas cher
louis vuitton paris
juicy couture
christian louboutin
mbt shoes
coach outlet
louis vuitton outlet
gucci handbags
louis vuitton outlet
coach outlet store online clearances
[url=http://www.michaelkors--outlet.us.com]michael kors outlet[/url]
supra sneakers
ugg boots
adidas originals
louis vuitton handbags
canada goose outlet
ray ban sunglasses
adidas superstar
oakley vault
jordan femme
[url=http://www.nike--rosherun.fr]nike roshe run[/url]
coach outlet
ugg boots
coach outlet
hollister clothing
kate spade outlet
ralph lauren polo
louis vuitton outlet stores
nike roshe run
gucci outlet
coach outlet
mont blanc pens
chicago bulls jerseys
coach outlet
polo ralph lauren
abercrombie
ray ban sunglasses
canada goose jackets
jordans for sale
giuseppe zanotti
fitflops
mcm bags
beats by dre
moncler pas cher
cheap jordan shoes
rolex watches
michael kors outlet
coach outlet
ugg slippers
cheap jordans
chanel bags
ugg boots
[url=http://www.michaelkors--outlet.us.com]michael kors handbags[/url]
ugg outlet
tory burch outlet
curry 3
adidas shoes
christian louboutin outlet
pandora jewelry
uggs sale
[url=http://www.michaelkorsoutlet--online.com]michael kors outlet[/url]
ugg boots
canada goose outlet
ugg outlet
abercrombie and fitch
ugg sale
ugg uk
uggs outlet
moncler jackets
louis vuitton outlet
louis vuitton
hollister outlet
celine handbags
[url=http://www.cheap--nfljerseys.us.com]nfl jerseys wholesale[/url]
michael kors outlet
ugg boots
true religion uk
miami heat jerseys
canada goose
adidas outlet
christian louboutin pas cher
gucci outlet
louis vuitton purses
coach factory outlet
coach factory outlet
uggs on sale
gucci outlet
louis vuitton handbags
uggs uk
ray ban sunglasses
uggs outlet
ray ban sunglasses
[url=http://www.gucci--outlet.com.co]gucci outlet[/url]
timberland outlet
louis vuitton handbags
golden state warriors jerseys
ray ban sunglasses
mont blanc pens
michael kors outlet
scarpe hogan
michael kors outlet clearance
the north face jackets
cheap ray ban sunglasses
louis vuitton
air jordan pas cher
cheap air jordans
louis vuitton outlet
coach outlet online
fitflops sale clearance
ugg sale
canada goose outlet
ugg australia
canada goose uk
ralph lauren uk
washington wizards jerseys
hermes bags
fitflops uk
ghd flat iron
coach factory outlet
[url=http://www.moncler--paris.fr]moncler paris[/url]
michael kors handbags
ugg outlet
longchamp handbags
adidas nmd
replica watches
canada goose outlet
christian louboutin outlet
toms shoes outlet
true religion outlet
polo ralph lauren
chanel bags
oakley sunglasses
cheap uggs
canada goose outlet
ugg boots
fitflop shoes
ugg boots
nike trainers
louis vuitton
ugg boots
seattle seahawks jerseys
coach outlet
ugg outlet
coach factory outlet
nike air max 90
oakley sunglasses
louis vuitton outlet
michael kors outlet
uggs pas cher
louboutin shoes
ray ban sunglasses
canada goose pas cher
cleveland cavaliers jerseys
louis vuitton outlet
ugg outlet
coach factory outlet
cheap uggs
uggs canada
christian louboutin outlet
louis vuitton outlet
oakley sunglasses
ralph lauren polo
uggs for men
ugg outlet
ralph lauren
canada goose sale
[url=http://www.cheap--nfljerseys.us.com]nike nfl jerseys[/url]
celine outlet
coach outlet
ray ban sunglasses
adidas nmd
burberry outlet
burberry outlet
ray ban sunglasses
uggs
nike outlet
fitflops sale clearance
longchamp outlet
replica watches
louis vuitton
true religion jeans
jordan retro
christian louboutin uk
nike air max pas cher
gucci outlet
air max sale
moncler uk
nhl jerseys
canada goose
adidas yeezy
louis vuitton outlet
michael kors bags
cincinnati bengals jerseys
toms shoes
louis vuitton outlet
toms wedges
ugg boots uk
christian louboutin sale
canada goose jackets
michael kors handbags
ugg slippers
michael kors outlet online
uggs outlet
seattle seahawks jerseys
ugg boots
adidas trainers
coach outlet
louis vuitton outlet
christian louboutin shoes
retro jordans
oakley sunglasses
cheap ray ban sunglasses
fitflops
michael kors outlet
designer handbags
minnesota vikings jerseys
ugg boots
new england patriots jerseys
uggs outlet
ugg boots paris
rolex watches
ugg sale
los angeles clippers jerseys
ralph lauren outlet
rolex watches
adidas shoes
clarisonic
coach outlet
201611.1wengdongdong

   

Social Login  


 
   

Your Cart  


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652
The cart is empty
   

Latest Forum Posts  


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652

  • Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652

  • Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/datamerx/public_html2/codemerx/jqgrid/libraries/joomla/filter/input.php on line 652