jQWidgets Forums
jQuery UI Widgets › Forums › Grid › jqxGrid columntype droopdownlist giving issues
Tagged: jqxGrid edit
This topic contains 3 replies, has 2 voices, and was last updated by deepak_chaurasia 11 years, 4 months ago.
-
Author
-
Hi Team,
I have created a grid , and given column type of column as “dropdownlist” , but when i select a cell , dropdownlist is coming and disappearing automatically(happening only in IE9), Can you please suggest a way out , or the reason behind this that could cause this?Hi deepak_chaurasia,
If you experience some issue, then please provide a sample which demonstrates it. With the provided information, we were not able to reproduce it.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/Please find the code . In this ‘Location Type’ having datafield ‘locationTypeCode’ giving such issue
//////////////////////////////////////////////////////////////////
var dataFields = [{ name: ‘Location’, value: ‘locationCode’,
values: { source: this.locationAdapter.records, value: ‘Code’, name: ‘Description’ }
},{ name: ‘locationCode’, type: ‘string’ },
{ name: ‘instrumentId’, type: ‘number’ },
{ name: ‘locationDesc’, type: ‘string’ },
{ name: ‘LocationRoleType’, value: ‘locationRoleTypeCode’,
values: { source: this.locationRoleTypeAdapter.records, value: ‘Code’, name: ‘Description’ }
},
{ name: ‘locationRoleTypeCode’, type: ‘string’ },
{ name: ‘locationRoleTypeDesc’, type: ‘string’ },
{ name: ‘LocationType’, value: ‘locationTypeCode’,
values: { source: this.locationTypeAdapter.records, value: ‘Code’, name: ‘Description’ }
},
{ name: ‘locationTypeCode’, type: ‘string’ },
{ name: ‘locationTypeDesc’, type: ‘string’ },
{ name: ‘locationPercent’, type: ‘string’ },
{ name: ‘rowId’, type: ‘string’ },
{ name: ‘rowScn’, type: ‘string’ },
{ name: ‘rowstatus’, type: ‘string’ },
{ name: ‘sourceUpdateId’, type: ‘string’ },
{ name: ‘targetUpdateTimestamp’, type: ‘date’ },
];
/////////////////////////////////////////////////////////////////////////////////////////////////////var columns = [ { text: ‘ ‘, dataField: ‘rowstatus’,cellsrenderer :imagerenderer,editable: false },
{ text: ‘Location ‘, datafield: ‘locationCode’, displayfield: ‘Location’, columntype: ‘dropdownlist’,
createeditor: function (row, value, editor) {
editor.jqxDropDownList({ source: that.locationAdapter, displayMember: ‘Description’, valueMember: ‘Code’ });
},
validation : function(cell , value)
{
//Some COde
}
},
{ text: ‘Location Role Type’, datafield: ‘locationRoleTypeCode’, displayfield: ‘LocationRoleType’, columntype: ‘dropdownlist’, minwidth: 100,
createeditor: function (row, value, editor) {
editor.jqxDropDownList({ source: that.locationRoleTypeAdapter, displayMember: ‘Description’, valueMember: ‘Code’ });
},
validation : function(cell , value)
{
//SOme Code
}
},
{ text: ‘Location Type’, datafield: ‘locationTypeCode’, displayfield: ‘LocationType’, columntype: ‘dropdownlist’,
createeditor: function (row, value, editor) {
editor.jqxDropDownList({ source: that.locationTypeAdapter, displayMember: ‘Description’, valueMember: ‘Code’ });
},
validation : function(cell , value)
{
//Some Code
}
}]this is happening only in IE9 , working fine in Mozilla firefox
-
AuthorPosts
You must be logged in to reply to this topic.