Hi all,

jgGrid version: 3.5.2

{
 name:'carname',
 index:'carname',
 width:150,
 align:"right",
 editable:true,
 edittype:"select",
 editoptions:{value: ....} // How to populate value with query result.
},

I want to populate the value of edtioptions of my edittype:"select"
with a query result because the data is changing every time.

I've tried with a function (simple ajax call, PHP return the string in
the right format) that returns a string of text, but doesn't work, if
I place it inside editoptions in any right way.

Someone of you know how to get this working?

-- 
Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
"It's easier to invent the future than to predict it."  -- Alan Kay

Reply via email to