Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: two columns sorting

two columns sorting 1 year 11 months ago #118

  • cnpphani
  • cnpphani's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 9
  • Karma: 0
Hi

I have 10 columns in my jqgrid so my question is out of 10 columns two columns are require asennding order sroting depends on due date order id will display asendning order

means primary sorting is due date and secondary sorting is order id.
can you please tell me how to do in jqgrid

two columns sorting 1 year 11 months ago #119

  • positron
  • positron's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 61
  • Thank you received: 4
  • Karma: 1
You should have your grid defined as:

$("#yourTableID").jqGrid({
......
multiSort:true
sortname: 'dueDate asc, orderID',
sortorder: 'asc',
...........
colModel: [
{name: 'dueDate ', ......},
{name: 'orderID', ......}
],
............
});

Please, pay attention that the ascending sort on the orderID is actually specified in the sortorder parameter. In general the default sort order of the last column mentioned in the sortname list is specified in the sortorder parameter and not in the list itself.

Now that sorting will work out of the box for local data only. It will just get the sort icons displayed on the columns for datatype xml or json. If you are using any of these two, i.e. server data, you'll have to sort your data on the server before sending it back to jqGrid. Luckily the sidx URL param contains the sort clause so that your server code knows which columns to sort on.

two columns sorting 1 year 11 months ago #120

  • Cerberus
  • Cerberus's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 55
  • Thank you received: 3
  • Karma: 0
Here is a demo of multi-column sorting in jqGrid - codemerx.com/jqgrid/demos/jqgrid-standal...multi-column-sorting

xiaozhengm 1 month 2 weeks ago #1424

  • xiaozhengm
  • xiaozhengm's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 80
  • Karma: 0
2015-5-15 xiaozhengm
oakley.hugeoff.net
www.katespade-outlet.us.com
truereligion.onlineinc.net.co
www.coachcanadaoutlet.ca
toryburch.onlineinc.net.co
http://www.michaelkors--outlet.com.co
www.chanelbags.com.co
www.fitflops.org
www.christianlouboutinoutlet.org
www.abercrombieoutlet.us.com
www.cheaptoms.us
www.montblanc.com.co
www.holisterclothingstore.com
www.michaelkorsoutlet.com.so
www.abercrombiekids.name
www.hollisterclothing.us
www.louisvuitton-lvoutlet.me
lululemon.suleymanaltun.com
chanelhandbags.cocous.org
www.adidaswings.name
www.montblancpens.com.co
www.christian-louboutinoutlet.org
www.raybansunglass.net.co
www.toms-outlet.com.co
www.hollisteroutlet.name
timberland.officialfree.net
www.jordanretro.name
www.coachoutlet-factory.com.co
www.cheaprolexwatches.name
www.louis-vuitton.net.co
www.poloralphlaurenhome.net
www.insanityworkout.com.co
www.abercrombieandfitch.cc
www.michaelkorshandbags.eu.com
www.dior-handbags.us
www.michaelkorsoutletus.eu.com
www.jordan13.org
www.louisvuittonhandbags.net.co
www.pandoracharms.org.uk
www.fendi.us.com
www.louisvuittonuk.me.uk
www.michaelkorsoutlet.net.so
www.juicy-couture.us
www.oakleysunglasses-outlet.name
www.abercrombiestore.org
www.retrojordans.name
www.ralphlaurensale.eu.com
www.louis-vuittonhandbags.name
www.poloralph-lauren.net.co
www.abercrombieandfitch.net.co
www.michaelkors.com.so
www.christianlouboutinsale.biz
www.raybans.name
www.kobeshoes.org
www.coachoutletstoreonline.eu.com
http://www.marc--jacobs.com
www.cheapjordansshoes.in.net
michaelkors.officialstore.com.co
www.gucci-outlet.net.co
michaelkors.aphidsymposium.org
www.ghdhairstraighteners.com.co
www.oakleysunglasses-sale.in.net
www.truereligion.eu.com
michaelkorsoutlet.new-letter.com
www.abercrombie-fitch.com.co
www.gucci-outlet.org
www.michael-korsoutletonline.eu.com
www.coach-outlet.us.com
www.christianlouboutinsale.name
www.pandorajewelry.name
www.ralph-lauren-outlet.co
www.p90xworkouts.us
www.adidasshoes.name
www.christianlouboutinoutlet.com.co
http://www.cheap--nfljerseys.us.com
www.jordan4.net
www.jordan11concord.org
www.coach-factoryoutlet.com.co
www.coachoutlet-storeonline.in.net
www.oakleysunglasses.us.com
burberry.officialstore.com.co
www.michaelkorsbag.org.uk
www.abercrombie.in.net
www.oakley-sunglasses.net.co
www.ralph-lauren.net.co
www.mkorsoutlet.com.co
www.ray-bansunglasses.name
www.chiflatiron.com.co
www.kevindurantshoes.name
www.celine-outlet.us
www.rayban-sunglasses.com.co
www.michaelkorsoutletsales.us.com
www.pandorajewelry.net.co
www.oakleysunglasses-wholesale.name
www.raybanglasses.me.uk
www.coachfactoryoutletonline.eu.com
www.louisvuittonoutlet-inc.us
www.guccishoes.us.com
burberryoutlet.newestsite.net
www.katespade-handbags.eu.com
www.concords11.com
www.lebronjames-shoes.net
www.outlet-celine.com
www.rolexwatchesoutlet.us
www.abercrombie-fitch.cc
www.nike-airmax.me.uk
www.abercrombieoutlet.name
www.louis-vuitton.us.org
burberry.stores.net.co
beatsbydrdre.outletoff.net
coachoutlet.officialinc.net
www.jordanconcords.net
www.raybanwayfarer.biz
www.oakleysunglassessale.in.net
www.michael-kors.org.uk
www.michael-korsuk.org.uk
www.abercrombiestores.net
timberlandboots.hugeoff.net
www.jordan11.name
www.katespadeoutlet.net.co
www.jordan8.net
www.coachoutlet.net.so
toryburchoutlet.stores.net.co
www.todsoutlet.name
www.pradauk.co.uk
www.toms-shoes.cc
www.michaelkorshandbags.com.so
www.michaelkors-mkoutlet.in.net
www.raybansunglassesoutlet.name
www.hollister-clothing.net
www.cheap-jordans.us.com
www.hollisterclothing.info
truereligion.officialbid.net
www.rayban-sunglasses.eu.com
www.lebronjames-shoes.name
www.todsshoes.us
www.holister.name
www.michaelkorsoutlet-mk.eu.com
www.gucci.net.co
www.coach-outlet.us.org
www.prada-outlet.us
www.louisvuittonoutlet.net.co
www.hermes-birkin.us
www.tory-burch-outlet.name
www.louisvuitton-outlet.us.com
www.jordan6.net
www.hollister-co.net
www.ray-banoutlet.name
www.louisvuitton-handbags.com.co
www.kobebryantshoes.name
http://www.louis--vuitton.us
www.louisvuittonoutlets.name
www.soccer-jerseys.us.com
burberry.bidinc.org
http://www.toms--shoes.com
www.guccioutlet.net.co
www.michaelkors-outlet.com.co
www.chanelhandbags.in.net
www.abercrombie.net.co
www.fitflop-shoes.us
www.hogan-shoes.us
timberlandboots.dealsinc.net
www.oakley-sunglasses.com.co
www.christianlouboutin.name
www.christianlouboutin-shoes.info
www.michaelkorsukpurse.co.uk
www.louis-vuittonoutlet.us.org
www.cocochaneluk.co.uk
www.true-religion-outlet.us.com
www.hollisterinc.name
www.jordan3.net
www.gucci-outlet.name
chanelhandbags.authenticinc.net
www.coachfactoryoutlet.com.so
www.oakleysunglassescheap.name
www.jordan11s.name
www.redchristianlouboutin.com
www.ray-ban-sunglasses.org.uk
www.louisvuitton.us.com
www.hollisterkids.net
www.coachoutletstoreonline.us.org


ASDASDSAD

two columns sorting 1 month 6 days ago #1725

  • kiyoumins
  • kiyoumins's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 88
  • Karma: 0
cheap jordans, beats by dre,beats headphones,beats audio,beats by dr dre,beats by dre headphones,dr dre,dre beats,beats by dr,dr dre beats,dre headphones,beats by dr. dre,cheap beats, nike air force,air force,nike air force 1,nike air force one,air force one nike,air force 1,air force one, air jordan, north face outlet,the north face,north face,the north face outlet,north face jackets,north face jackets clearance,northface, kate spade uk, timberland, salomon shoes, air jordan,jordan shoes,cheap jordans,air jordans,jordan retro,air jordan shoes,jordans,jordan 11,jordan xx9,jordan 6,new jordans,retro jordans,jordan retro 11,jordan 5,air jordan 11,jordans for sale,jordan 4,jordan 1,jordan future,jordan 3,jordan 12,michael jordan shoes,air jordan retro, stuart weitzman, nike blazer, michael kors outlet, oakley sunglass, lebron james shoes, true religion uk, adidas originals, nike blazer,blazer nike,nike blazer pas cher,Chaussures Nike Blazer,Nike Blazer Femme, chaussures louboutin, toms outlet, ralph lauren outlet,ralph lauren outlet online,polo ralph lauren outlet,polo ralph lauren outlet online,polo ralph lauren,ralph lauren,polo ralph,polo shirts,ralphlauren.com,polo outlet,ralph lauren polo, chanel bags,chanel handbags,chanel sunglasses,chanel outlet,chanel purses,chanel handbags official site, michael kors, louboutin,louboutin pas cher,christian louboutin,louboutin chaussures,louboutin soldes,chaussure louboutin,chaussures louboutin,chaussure louboutin pas cher,louboutin france, guess outlet, adidas store, chanel bags, kobe 9 low, adidas shoes, fit flops, michael kors,michael kors canada,michael kors outlet,michael kors outlet online, air max 95,nike air max 95,air max 90,nike air max 90,air max 2015,nike air max,air max,nike air max 2015,airmax, nike shoes, lululemon uk, gucci shoes, oakley sunglasses,cheap oakley,cheap oakley sunglasses,oakley sunglasses cheap,oakley outlet,oakley sunglasses outlet,oakley vault,oakleys,oakley.com,sunglasses outlet,cheap sunglasses,oakley prescription glasses,fake oakleys,oakley glasses,oakley store,fake oakley,oakley sale,cheap oakleys,discount oakley sunglasses, [url=http://www.burberry--uk.co.uk/]burberry uk[/url], NFL Jerseys,Nike NFL Jerseys,NBA Jerseys,Soccer Jersey,NHL Jerseys,Baseball Jerseys,Custom Jersey,Youth Jerseys,Women Jerseys,NCAA Jerseys,cheap jerseys,cheap nfl jerseys,basketball jerseys,jerseys,hockey jerseys, [url=http://www.oakley--sunglasses.co.uk/]oakley sunglasses[/url], sac michael kors, [url=http://www.burberry--uk.co.uk/]burberry[/url], beats by dre, puma outlet, cartier love bracelet, burberry, new balance football boots, omega watches, flip flop, louboutin uk, gucci handbags, kobe shoes, dolce gabbana, jerseys from china, jordan retro,jordan shoes,air jordan,air jordans,retro jordans,air jordan retro,jordans,jordan 11,jordan xx9,jordan 6,new jordans,cheap jordans,jordan retro 11,jordan 5,air jordan 11,jordans for sale,jordan 4,jordan 1,jordan future,jordan 3,jordan 12,michael jordan shoes,air jordan shoes, yoga pants, cheap jordans,cheap jordan shoes,cheap jordan,cheap jordans for sale,jordans for cheap,jordan shoes,jordans,air jordan,jordan retro,jordan 11,jordan xx9,jordan 6,new jordans,air jordans,retro jordans,jordan retro 11,jordan 5,air jordan 11,jordans for sale,jordan 4,jordan 1,jordan future,jordan 3,jordan 12,michael jordan shoes,air jordan shoes,air jordan retro, mac cosmetics uk, cheap jerseys,nfl jerseys,cheap nfl jerseys,jerseys from china,cheap jerseys from china, mizuno running shoes, air max 95, coach outlet,coach outlet store,coach outlet store online,coach outlet stores,coach factory outlet,coach factory,coach factory online,coach factory outlet online,coach outlet online, mac make up, jordan retro, burberry,burberry outlet,burberry outlet online,burberry factory outlet,burberry sale,burberry handbags, converse sale, jerseys from china,cheap jerseys from china,nfl jerseys,cheap jerseys,cheap nfl jerseys,jerseys,baseball jerseys,nba jerseys,hockey jerseys,basketball jerseys, lebron james shoes, beats solo, coach outlet store, ralph lauren outlet, nike free 5.0, nike free trainer 5.0,nike free run 5.0,free running 2,nike free run,nike free,free running,nike running shoes,nike free trainer,free runs,free run 5.0, omega watches,omega watch,replica watches,rolex watches,replica omega watches,rolex,watches for men,watches for women,rolex watches for sale,rolex replica,rolex watch,cartier watches,rolex submariner,fake rolex,rolex replica watches,replica rolex, lebron james shoes, air max 90,nike air max 90,air max 95,air max 2015,air max 1,nike air max,air max,nike air max 2015,airmax, michael kors outlet,michael kors handbags,michael kors uk,michael kors,michael kors,michael kors bags, toms outlet,tom shoes,toms shoes outlet,tom shoes,toms wedges,cheap toms,toms.com, Cheap Jordans,Cheap Jordan Shoes,Cheap Air Max,Cheap Free Run Shoes,nike shoes,nike outlet,nike factory,nike store,nike factory outlet,nike outlet store,cheap nike shoes,nike sneakers, north face outlet, air max 90, five finger shoes, kevin durant shoes, nike free 5.0, chanel bag, tods shoes, ferragamo,salvatore ferragamo,ferragamo shoes,ferragamo outlet,salvatore ferragamo outlet,ferragamo belts,ferragamo belt,ferragamo outlet, Ray Ban Sunglasses,Ray Ban Outlet,Ray Ban Sale,Cheap Ray Bans,Cheap Ray Ban Sunglasses,ray ban sunglasses outlet,ray ban,rayban,ray bans,ray-ban,raybans,ray ban wayfarer,ray-ban sunglasses,raybans.com,rayban sunglasses,cheap ray ban, yoga pants,lululemon,lululemon outlet,lululemon athletica,lululemon addict,lulu lemon,lulu.com,lululemon.com, cheap nfl jerseys, mac cosmetics uk, ferragamo, cheap jerseys, dansko outlet, michael kors,sac michael kors,michael kors sac,michael kors pas cher,sac michael kors pas cher,michael kors france, air jordans, nike air force, ray ban sunglasses, fendi belts, timberland boots ukfsdfdds
  • Page:
  • 1
Time to create page: 0.300 seconds