Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 13th, 2012  |  syntax: None  |  size: 0.68 KB  |  hits: 234  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. jqgrid setColProp not working
  2. loadComplete: function() {
  3.                 $("#profile_table").setColProp('contract_num', { editoptions: { value: contract_list} });
  4.             },
  5.        
  6. $("#profile_table").setColProp('contract_num', { editoptions: { value: contract_list} });
  7.        
  8. colModel:[
  9.                 {name:'contract_num',index:'contract_num', editable: true, hidden: false, width:30, edittype: "select", editrules: {required: true}},  
  10. ]
  11.        
  12. loadComplete: function() {
  13.                 $("#profile_table").setColProp('contract_num', { editoptions: { value: contract_list} });
  14.             },
  15.        
  16. $("#profile_table").setColProp('contract_num', { editoptions: { value: contract_list} });