ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Display ComboBox (DropDownList) in jqGrid column using jQuery jqGrid Plugin<p>Hi&nbsp;<a class="username" rel="Sanxion">Sanxion,</a></p> <p>Refer below sample example.</p> <p><strong><span style="text-decoration: underline;">HTML</span></strong></p> <div class="demo_block"> <pre class="brush: html">&lt;table id=&#34;jqGrid01&#34;&gt; &lt;/table&gt; &lt;div id=&#34;jQGridDemoPager&#34; style=&#34;height: 50px;&#34;&gt; &lt;/div&gt; &lt;link rel=&#34;stylesheet&#34; href=&#34;https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.11.4/themes/redmond/jquery-ui.min.css&#34; /&gt; &lt;link rel=&#34;stylesheet&#34; href=&#34;https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.2/css/ui.jqgrid.min.css&#34; /&gt; &lt;script type=&#34;text/javascript&#34; src=&#34;https://cdnjs.cloudflare.com/ajax/libs/jquery/1.12.4/jquery.min.js&#34;&gt;&lt;/script&gt; &lt;script type=&#34;text/javascript&#34; src=&#34;https://cdnjs.cloudflare.com/ajax/libs/free-jqgrid/4.15.2/jquery.jqgrid.min.js&#34;&gt;&lt;/script&gt; &lt;script type=&#34;text/javascript&#34;&gt; $(function () { var customers = [ { id: &#34;1&#34;, name: &#34;John Hammond&#34;, country: &#34;United States&#34; }, { id: &#34;2&#34;, name: &#34;Mudassar Khan&#34;, country: &#34;India&#34; }, { id: &#34;3&#34;, name: &#34;Suzanne Mathews&#34;, country: &#34;France&#34; }, { id: &#34;4&#34;, name: &#34;Robert Schidner&#34;, country: &#34;Russia&#34; } ]; $(&#34;#jqGrid01&#34;).jqGrid({ datatype: &#34;jsonstring&#34;, datastr: customers, colNames: [&#34;Id&#34;, &#34;Name&#34;, &#34;Country&#34;], colModel: [ { name: &#39;id&#39;, index: &#39;id&#39;, hidden: false, key: true }, { name: &#39;name&#39;, index: &#39;name&#39;, editable: true }, { name: &#39;country&#39;, index: &#39;country&#39;, align: &#39;center&#39;, sortable: true, cellEdit: true, formatter: &#39;select&#39;, editable: true, edittype: &#39;select&#39;, stype: &#39;select&#39;, editoptions: { value: &#34;United States:United States;India:India;France:France;Russia:Russia&#34; } } ], height: &#39;auto&#39;, width: &#39;auto&#39;, rowNum: 2, editable: true, loadonce: true, rowList: [30, 40, 50], pager: &#34;#jQGridDemoPager&#34;, sortname: &#39;id&#39;, viewrecords: true, sortorder: &#39;desc&#39;, gridview: true, treeGrid: false, treeGridModel: &#39;adjacency&#39;, treedatatype: &#34;local&#34;, ExpandColumn: &#39;name&#39;, add: true, edit: true, addtext: &#39;Add&#39;, edittext: &#39;Edit&#39;, caption: &#34;jQ Grid&#34; }); $(&#34;#jqGrid01&#34;).jqGrid(&#39;navGrid&#39;, &#39;#jQGridDemoPager&#39;, { edit: true, add: true, del: true, search: true }, { height: 200, reloadAfterSubmit: true } ); $(&#34;#jqGrid01&#34;).jqGrid(&#39;setGridWidth&#39;, $(&#34;.content&#34;).width(), true); }); &lt;/script&gt;</pre> </div> <p><a class="demo button orange btn btn-red">Demo</a></p>https://www.aspforums.net:443/Threads/122757/Display-ComboBox-DropDownList-in-jqGrid-column-using-jQuery-jqGrid-Plugin/https://www.aspforums.net:443/Threads/122757/Display-ComboBox-DropDownList-in-jqGrid-column-using-jQuery-jqGrid-Plugin/Tue, 27 Nov 2018 01:21:51 GMT