We have tried below sample code to generate the scenario.
When we click the Plus icon on the Country column dropdown to apply all rows then same issue occurs.
$(function () {
var colModel = [
{ title: "Customer ID", dataIndx: "customerid", width: 120 },
{
title: "Country", width: "120", dataIndx: "country",
style: { 'background-color': 'beige' },
cls: 'pq-drop-icon',
editor: {
type: 'select',
options: function(){
return ['Green', 'Yellow', 'Blue'];
}
}
},
{ title: "Company Name", width: 180, dataIndx: "companyname" },
{ title: "Address", width: "170", dataIndx: "address" }
];
var dataModel = function(){
var data = [];
for(i=0; i<=200000; i++){
data.push({'customerid':`C00${i}`, 'country':'', 'companyname':`test ${i}`,'address':`test location ${i}`});
}
return data;
}
var newObj = {
width: 'auto',
editModel: { clicksToEdit: 1, addDisableCls: true },
pageModel: { type: "local", rPP: 20, strRpp: "{0}", strDisplay: "{0} to {1} of {2}" },
dataModel: { data: dataModel() },
showTitle: false,
showBottom: false,
colModel: colModel,
fillHandle: 'all',
copyModel: { header: true },
cellSave: function (evt, ui) {
//refresh the row to update the read only cells.
this.refreshRow({rowIndx: ui.rowIndx});
},
scrollModel: { autoFit: true },
title: "Contact Details"
};
$("#grid_readonly").pqGrid(newObj);
});