How To disable the dropdown after selected the binded value in jqgrid – Guriddo https://guriddo.net/?topic=how-to-disable-the-dropdown-after-selected-the-binded-value-in-jqgrid&feed=rss2 Sat, 01 Nov 2025 13:07:51 +0000 https://bbpress.org/?v=2.6.14 en-US https://guriddo.net/?topic=how-to-disable-the-dropdown-after-selected-the-binded-value-in-jqgrid#post-103679 <![CDATA[How To disable the dropdown after selected the binded value in jqgrid]]> https://guriddo.net/?topic=how-to-disable-the-dropdown-after-selected-the-binded-value-in-jqgrid#post-103679 Fri, 12 Dec 2014 12:16:54 +0000 psky {

name: ‘SUPER_CLIENT’,
index: ‘SUPER_CLIENT’,
align: ‘left’,
width: 150,
stype: ‘text’,
sortable: true,
editable: true,
editrules: { required: true },
edittype: ‘select’,
editoptions: {
aysnc: false,

dataUrl: ‘../../../Forms/Admin/MasterModule/AdminCommonHandler.ashx?Page=ProcessMaster’,
buildSelect: function (data) {
var json = $.parseJSON(data);
var s = ‘<select>’;
s += ‘<option value=””>–Select–</option>’;
$($.parseJSON(data)).map(function () {

s += ‘<option value=”‘ + this.COMPANY_NAME + ‘”>’ + this.COMPANY_NAME + ‘</option>’;
});

var sel_id = $(‘#jQGridDemo’).jqGrid(‘getGridParam’, ‘selrow’);

var value = $(‘#jQGridDemo’).jqGrid(‘getCell’, sel_id, ‘USER_ID’);
//alert(value);
$(‘#COMPANY_NAME’).val(value);

return s + “</select>”;

},dataInit: function (elem) { $(elem).width(141); }
},
formoptions: { elmsuffix: ” }
},

]]>
https://guriddo.net/?topic=how-to-disable-the-dropdown-after-selected-the-binded-value-in-jqgrid#post-103843 <![CDATA[Reply To: How To disable the dropdown after selected the binded value in jqgrid]]> https://guriddo.net/?topic=how-to-disable-the-dropdown-after-selected-the-binded-value-in-jqgrid#post-103843 Tue, 16 Dec 2014 09:17:44 +0000 tony Hello,

Use dataInit and select the appropriate event from here

Kind Regards
Tony

]]>