[jsgrid] custom type 만들기
var defaultFields = [ { name: "Title", type: "text", width: "", title: "제목", css : "col-md-4 col-sm-4 col-xs-4" }, { name: "MenuType_Code", type: "text", width: "", title: "위치", css : "text-center" }, { name: "Location_Code", type: "text", width: "", title: "순서", css: "text-center" }, { name: "Region_Code", type: "text", width: "", title: "지역", css: "text-center" }, { name: "Start_Date", type: "..
[jsgrid] json datetime column convert to javascript datetime on with custum format
var defaultFields = [ { name: "Title", type: "text", width: "", title: "용어명", css: "text-left col-md-9 col-sm-9 col-xs-9" }, { name: "RegisterId", type: "text", width: "", title: "등록자", css: "text-center col-md-1 col-sm-1 col-xs-1" }, { name: "RegistDate", type: "date", width: "", title: "등록일시", css: "text-center col-md-1 col-sm-1 col-xs-1" }, { name: "UseYn", type: "text", width: "", title: "사용..
[jsgrid] options fields 변경하기
var defaultFields = [ { name: "CLTR_MNMT_NO", type: "checkbox", width: 20, title: "" }, { name: "CLTR_MNMT_NO_TEXT", type: "text", width: 100, title: "물건번호물건종류(용도)", validate: "required" }, { name: "CLTR_NM", type: "text", title: "소재지", width: "40%" }, { name: "MIN_BID_PRC_TEXT", type: "text", title: "감정가(원)최저입찰가(원)", width: 100 }, { name: "PBCT_CLTR_STAT_NM", type: "text", title: "진행상태", width:..
[validate] 예제
js include html 아이디 비밀번호 로그인 js code $(function () { $('#loginForm').validate({ debug: false, onfocusout: false, rules: { LoginId: { required: true, rangelength: [2, 20] }, Password: { required: true, rangelength: [2, 20] } }, messages: { LoginId: { required: '아이디를 입력하세요.', rangelength: $.validator.format('{0}자 내로 입력하세요.') }, Password: { required: '비밀번호를 입력하세요.', rangelength: $.validator.format(..