Forum


10:53

Moderators
30/10/2007

Hello,
It is a little difficult to do that, but do you have idea how to pass these values to the server? To be a honest I never worked with multi-selects
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
11:48

08/10/2008

hey Tony,
I just monkeyed with grid.formedit.js and added multi-select support. The idea was simply that instead of passing a single ID back to the server, it'd pass multiple IDs, and that's working nicely. Can I send you the code? it's in 2 separate chunks in that file. i'd assume you'd modify it to fit your style... i'm no javascript expert, just a server-side dude hacking away.
13:05

Moderators
30/10/2007

Hello,
Any addition is welcome. You can send me this.
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
13:37

08/10/2008

cool, i emailed it to you.
One thing I noticed Tony: When I submit the form, the data I just changed reverts back to the original data. If I close the form and re-open it, it's as it should be. Now... the grid itself refreshes, but the editing form seems to revert all fields back to whatever they were when it originally loaded when clicking the row. (this is form editing, not inline editing).
Is there a parameter or something to get around that?
thanks.
Marc
13:42

Moderators
30/10/2007

Hello,
I should look into the changes deeper to tell you where is the problem.
By the way which version of jqGrid do you use?
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
14:18

Moderators
30/10/2007

Hello,
The problem maybe will remain the same. I will instead try to implemt
your work and ajust it to the next upcomming bug fix release this Sunday.
Thank you
Regards
Tony
For professional UI suites for Java Script and PHP visit us at our commercial products site - guriddo.net - by the very same guys that created jqGrid.
22:18

22/03/2010

14:24

22/03/2010

Here is the code snipplet I used to get multiple:
{name:'segmentcode',editable:true, hidden:false, edittype:"select", formatter:'select', editrules:{required:false}, editoptions:{multiple:true, size:7, value:"<cfoutput>#getSegmentCodes#</cfoutput>"}},
The #getSegmentCodes# is a list of items returning from Coldfusion.
This grid is truly an amazing piece of code that has surpassed my expectations. Once again THANK YOU JQGRID!
Most Users Ever Online: 715
Currently Online:
35 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
OlegK: 1255
markw65: 179
kobruleht: 144
phicarre: 132
YamilBracho: 124
Renso: 118
Member Stats:
Guest Posters: 447
Members: 11373
Moderators: 2
Admins: 1
Forum Stats:
Groups: 1
Forums: 8
Topics: 10592
Posts: 31289
Newest Members:
, razia, Prankie, psky, praveen neelam, greg.valainis@pa-tech.comModerators: tony: 7721, Rumen[Trirand]: 81
Administrators: admin: 66