<div id='popup'>
<div id="grid_json_paste" style="float:left;"></div>
</div>
<button id='xbutton' >Popup</button>
<script>
var colModel = [{ title: "Company", dataType: "string", dataIndx: "company" } ];
$("#xbutton").click(function() {
$("#popup").dialog({modal: true});
$("#grid_json_paste").pqGrid({
colModel: $.extend(true, [], colModel),
width: '300px',
title: "Grid B",
toolbar: toolbar,
resizable: true,
showBottom: false,
numberCell: { show: false },
scrollModel: { autoFit: true }
});
});
</script>
I want to press "Ctrl-V" from an excel data two to three times to get the paste result.