0
그리드 열의 편집 옵션에 하이퍼 링크가있을 수 있습니까? 그리드는 바인딩 될 때 일반 텍스트를 표시합니다. 그러나 편집/추가 모드에있을 때이 텍스트를 하이퍼 링크 (팝업을 여는)로 변환해야합니다. editoptions에 하이퍼 링크가있는 옵션을 찾을 수 없습니다. 단추로 할 수 있었지만 링크가 필요합니다. 이 일을하는 방법이 있습니까? 나는 다음과 같은 코드가 -편집 모드에서 링크, 일반 모드의 일반 텍스트
colModel: [
{ name: 'Person', index: 'PersonName', width: 70, editable: true, edittype: 'button',
editoptions: {
value: 'Select',
dataEvents: [{
type: 'click',
fn: function (elem) {
var left = (screen.width/2) - (700/2);
var top = (screen.height/2) - (550/2);
var popup = window.open("popup.htm", "popup", "resizable=1,copyhistory=0,menubar=0,width=700,height=550,left='+left+',top='+top");
popup.focus();
}
}]
}
},