cell calcuate1 jqgrid cell value danyamic/calcuate jqGrid 데이터 로딩 시 특정 cell의 값을 동적?혹은 계산하여 임의로 넣기예)시작일과 마감일이 있는 경우 : 총 걸린 기간을 계산하여 넣기 colModel 작성 시 : 12345678910111213141516171819202122formatter: function (cellvalue, options, rowObject){var totalDay = countDay(마감일, 시작일); //countDay:총 일수 구하기return countYearMonthDay(totalDay) +" (" + totalDay + "일)";}function gfnCountYearMonthDay(elapsedDay){ var year; var month; var day; if(elapsedDay 2016. 7. 5. 이전 1 다음