본문 바로가기

main182

2014년 새해 인사말 모음 갑오년 새해에는 소망하는 일 모두 이루어지길 바랍니다. 2014년 행복한 일만 있길 바라며 소망하시는 일 모두 이루시길 바랍니다. 2014년 갑오년 새해가 밝았습니다. 목표하신 바 다 이루는 한 해가 되시길 바랍니다. 다사다난했던 한해의 무거운 짐들은 모두 잊버 벗어 버리고 새로운 희망 새로운 마음으로 힘차게 출발하시길 바랍니다. 새해에는 건강과 함께 밝은 한해 가정에 행복이 가득하시길 바랍니다. 새해 복 많이 받으세요! 하루를 지내고 나면 더 즐거운 하루가 오고 사람을 만나고 나면 더 따스한 마음으로 생각하고 좋은일이 생기면 더 행복한 일을 만들 수 있는 아름다운 새해가 되기를 바랍니다. 새해에 뜨는 해는 귀하의 큰 뜻 입니다. 새해에 부는 바랍은 귀하의 힘찬 기운 입니다. 온세상에 뜻을 비추고 쉼 없.. 2013. 12. 31.
jqGrid 헤더 클릭 시 정렬 (jqGrid header sort) 우선 참고 사이트 보기 ( http://trirand.com/blog/jqgrid/jqgrid.html ) [jqGrid Demos] -> [Items] 창에서 [New in version 3.6] -> [Sortable Rows] 참조 나 같은 경우 위와 같은 방식으로 했는데 헤더를 클릭해도 정렬이 안되었다.. --;그래서 아래와 같이 sortable: true와 loadonce : true 를 넣으니 되었다. jQuery("#sortrows").jqGrid({ sortable: true , url:'server.php?q=2', datatype: "json", colNames:['Inv No','Date', 'Client', 'Amount','Tax','Total','Notes'], colModel:.. 2013. 12. 31.
static static static 멤버 변수 : 객체를 아무리 많이 만들더라도 static 변수는 오직 하나의 메모리만 생성 실생활과 비교하여 예) -학교의 컴퓨터는 모두 프린터를 사용할 수 있다. -1대의 프린터로 모든 컴퓨터들이 공유를 한다. static 메모리 생성 시기static으로 선언된 변수는 객체가 생성되기 전에 메모리 allocation이 이루어진다.따라서 객체를 생성하지 않고서도 멤버 변수 접근이 가능하다. static 멤버 함수static 멤버 함수 내에서는 일반 변수를 사용할 수 없다.static 멤버 변수만을 사용 public class Test { public static int s; public int a; public int b; public int c; public static voi.. 2013. 12. 31.
jqGrid 날짜(date: yyyymmdd) 관련 - 참조사이트(jqGrid Wiki) : http://www.trirand.com/jqgridwiki/doku.php?id=wiki:predefined_formatter - 해결책을 준 참조사이트: http://stackoverflow.com/questions/12803469/jqgrid-date-formatter-ymd ※ 문제(problem) I have a problem with the jqgrid Date formatter. in my DB table i have this dateformat "Ymd" like "20120219". Here the whole code for this column:$col = array(); $col["title"] = "Date"; $col["name"] = "d.. 2013. 12. 30.
jqGrid - 헤더 관련 예제 (헤더 병합/ 동적 헤더명) 아래는 셀렉트박스에서 선택한 값에 따라 헤더의 값이 바뀌는 예제이다. 만약 셀렉트박스에서 'A제품'을 선택하면 헤더에도 'A제품'이 표시된다. $("#grid").jqGrid({ sortable: true, datatype: 'local', colNames:['날짜','A Col', 'B Col', 'C Col'], colModel:[ {name:'date', index:'date', width:210, align:"center", formatter:'date', sorttype:'text', formatoptions:{srcformat:"Y-m-d", newformat:"Y-m-d"}}, {name:'ACol', index:'ACol', width:205, align:"right", sorttype:'.. 2013. 12. 30.
integer.parseInt(String)과 integer.valueOf(String) 차이점 resultList.get(i).setSum(Integer.toString(Integer.parseInt(result.get(i).getOutQuantity()) - Integer.parseInt(result.get(i).getInQuantity()))); 위 코딩을 하다 의문점이 생겨.. 이렇게 정리한다. '-' integer.parseInt(String) integer.valueOf(String) 음수 인식 음수를 인식하지 못함 int 형을 반환 Integer 객체를 반환 내부에서 parseInt()를 씀 2013. 12. 27.
jqGrid footer 그리고 footer sum 예제 결과 그림: //jqGrid $("#grid").jqGrid({ sortable: true, datatype: "local", colNames:['종류','출고', '입고', '정산수량', '금액'], colModel:[ {name:'crateName', index:'crateName', width:160, align:'center', sorttype:'text', sortable:true,}, {name:'outQuantity', index:'outQuantity',width:165, align:"right", sorttype:'int', sortable:true, formatter: 'integer', formatoptions:{thousandsSeparator:","}}, {name:'inQuant.. 2013. 12. 26.
POI 참조 사이트 http://iamreo.tistory.com/archive/201304 http://bbokkun.tistory.com/29 2013. 12. 23.
jQuery datepicker 사용하기(다양한 예제) 참조 : http://blog.naver.com/PostView.nhn?blogId=tyboss&logNo=70121820039 2013. 12. 20.
jQuery text, name, select 접근 방법 참조 jQuery text, name, select 접근 방법 참조 : http://javacore.tistory.com/90 2013. 12. 13.
반응형