the line: 'editoptions':'{value:{1:One,2:Two}}'},
should be: 'editoptions':{'value':{1:'One',2:'Two'}}Just in case someone else has this issue. Vas. On May 4, 12:12 pm, Vas <[email protected]> wrote: > Hi guys, > I'm having a bit of an issue with tw.jqgrid trying to create a select > tag in the add/edit form. > > colModel = [ .... > > {'name':'test','index':'test','formoptions':'{elmprefix:'', rowpos:1, > colpos:2}', > 'edittype':'select', 'formatter':'select', > 'editoptions':'{value:{1:One,2:Two}}'}, > > ...... > ] > > testGrid = JqGrid( > ....., > colModel=colModel, > ...... > ) > > for some reason i get an empty select box in my form. > I've tried everything with no luck. Can anyone help? > > Thank you. -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.

