Hello,
I have problem with cellendedit event in chrome (after some scenarios chrome popup with message ‘Page unresponsive’ shows up)
(issue is reproduced for column validation function also).
you can modify code (http://jsfiddle.net/jqwidgets/UEqup/) or use code below
html:
<div id=’jqxWidget’>
<div id=”jqxgrid”></div>
</div>
javascript:
var data = generatedata(500);
var source = {
localdata: data,
datafields: [{
name: ‘firstname’,
type: ‘string’
}],
datatype: “array”
};
var adapter = new $.jqx.dataAdapter(source);
$(“#jqxgrid”).jqxGrid({
width: 200,
theme: ‘energyblue’,
source: adapter,
sortable: true,
editable: true,
selectionmode: ‘singlecell’,
columns: [{
text: ‘First Name’,
datafield: ‘firstname’,
columngroup: ‘Name’,
width: 200
}]
});
$(‘#jqxgrid’).on(‘cellendedit’, function (event) {
confirm(“test”);
});
main scenario is to edit any cell, then use some of keyboard navigation buttons (like enter or tab)
after popup with message test appears wait 30 sec, and after then chrome decides that page is unresponsive.
also defect reproduces only if chrome dev tools was not opened and was not reproduced on cellendedit by mouse click on other cell.
We wanted to validate user changes and confirm that user entered odd data on purpose, and some times user requires more time to recheck his input.
Thanks in advance