Hello Param,
I have update my system to Pqgrid 2.1.0. Most functions are ok now.
I have used pqgrideditorkeydown instead of pqgridcelleditkeydown. I have review the script according tp API documents and it is ok now.
But span "SPAN ONCLICK"'s which are next to special editor, are not working now. When I click that it goes back to editor. Besides "ONKEYUP" is described in "SPAN" but it is working.
editor: {type: renkSec}
var renkSec = function (ui) {
var $cell = ui.$cell,
rowData = ui.rowData,
dataIndx = ui.dataIndx,
width = parseInt(ui.column.width) - 20,
cls = ui.cls;
var dc = $.trim(rowData[dataIndx]);
url = "pm/popup.asp?t=52&l=mr&fa=MODEL&fo=0&fv=" + ui.rowData.MODEL;
$cell.append("<input type='text' name='" + dataIndx + "' value='" + dc + "' class='" + cls + " fl' id='renk' onkeyup=\"PopupRL('" + url + "',event);\" style='z-index: 4;width:" + width + "px;'/>" +
"<span class='ui-widget-header fl ek' onclick=\"Popup('" + url + "','POPUP',540,550,10,400);\"><i class='ui-icon ui-icon-search ck'></i></span>");
$cell.find("input").focus();
$cell.find(".ui-icon-image").click(function () {
var theURL = "GenelEkTinymce.asp?isl=tc&type=image&field_name=";
Popup(theURL, "myWin", 640, 440, 100, 200);
});
};
And popup window "window.opener.$('.pq-edit-focus').val('test');" not work.
window.opener.$('.pq-edit-focus').val('test');
window.opener.$('.pq-edit-focus').focus();
window.close();