Using bootstrap select2 with JqGrid form
问题 I am trying to implement bootstrap select2 with jqgrid form but can seem to get it right. on the colmodel of the jqgrid declaration I have: {name: \'staff\', index: \'staff\', width: 31, formoptions: {elmprefix: \'(*) \'}, editable: true, editrules: {required: true}, edittype: \'select\', editoptions: {value: staff, dataInit: function(element) { $(element).width(260).select2(); } } }, The options are there and bootstrap classes are inserted into the element, <select id=\"staff\" class=\