/**
* 그리드 아이템 편집 완료전 이벤트
* 그리드 아이템 편집 완료전에 이벤트가 발생한다.
*
* @param {Object} objInst 그리드 컴포넌트 인스턴스
* @param {number} nRow 그리드 행 인덱스 (Zero-Based)
* @param {number} nColumn 그리드 열 인덱스 (Zero-Based)
* @param {string} strItemText 아이템 텍스트
*
* @returns {number} 편집 완료 처리 방식
* 0 - 편집 완료 처리를 수행하지 않고, 편집 상태 유지
* 1 - 편집 완료하고, 다음 편집 가능한 아이템으로 이동 (기본값)
* 2 - 편집 완료하고, 다음 편집 가능한 아이템으로 이동하지 않음
*/
function grd_on_itemeditvalidation(objInst, nRow, nColumn, strItemText)
{
factory.consoleprint("on_itemeditvalidation> Start");
factory.consoleprint("on_itemeditvalidation> Grid Object Name = " + objInst.getname());
factory.consoleprint("on_itemeditvalidation> nRow = " + nRow);
factory.consoleprint("on_itemeditvalidation> nColumn = " + nColumn);
factory.consoleprint("on_itemeditvalidation> strItemText = " + strItemText);
if (strItemText == "0") { return 0; }
else if (strItemText == "2") { return 2; }
return 1;
}