Forum
July 12th, 2025
A
A
A
Topic RSS
Related Topics
Offline
The forums are currently locked and only available for read only access
Topic RSS
Related Topics
Problem with dynamic select
24/01/2011
19:02
19:02
BaHeK83
RU
New Member
Members
Forum Posts: 1
Member Since:
24/01/2011
24/01/2011
Offlinehi, all
Can somebody explain me: which string`s format I must use in order to
construct select element in jqGrid if I use function ? Quote from
documentation: "When defined as function - the function should return
either formated string or object."
i.e. in colModel I have
{
name:'ContactType',index:'ContactType',...,editable:true,edittype:"select",editoptions:{value:getContactTypeTA()},...}
and function definition is next
function getContactTypeTA()
{ return "{1:"Type1",2:"Type2"}";}
In this example function return "either formated" string - and that's
really so: {1:"Type1",2:"Type2"}. BUT !!! In jqGrind that's don' work.
Where can I find format for "either formated string" ?
Any suggestion?
Method supposed here
http://geekswithblogs.net/renso/archive/2009/07/02/jqgrid-dynamically-loading-select-options.aspx
don't work too.
P.S. It is necessary use scheme without php (editoptions: { size:
1,dataUrl: 'Includes/tblJobSelect.php',...}), because it use GET and I'm
use POST.
Forum Timezone: Europe/Sofia
Most Users Ever Online: 994
Currently Online:
23 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
Log In
Home