프로그래밍/ExtJS(32)
-
compositefield내 datefield invalid 문제점
compositefield 를 이용하여 datefield 를 만들어서 했더니 vaild 표시가 하얗게 되어서 길게 이상하게 표현된다..다음과 같은 css를 바꿔버리면 되더라.!!.x-form-invalid, textarea.x-form-invalid .x-form-invalid.x-form-composite .x-form-invalid
2012.05.24 -
Extjs Composite Field에 콤보값에 따라 Hide Show 문제점
Composite field 에서 콤보 선택으로 나머지 필드를 Show hide 하는 과정중 위치를 잘못 인식하여 나타내는 경우가 있는데 이럴때는 아래와 같이 다시한번 그려주면 된다. {Object}.innerCt.doLayout();
2012.04.30 -
Extjs 키이벤트시 다른 키 이벤트 중복하지 않게하기
keydown : function(t,e) { if(e.getKey() == e.ENTER) { e.stopEvent(); e.stopEvent()를 해주자!!
2012.01.29 -
Extjs 새창에서 Extjs 컨트롤
앞에 "window.opener" 를 붙여주자 window.opener.Ext.getCmp('main_contentgrid').getStore().reload();
2012.01.19 -
ExtJS multiple rowselect
멀티 select 에서 더블클릭으로 계속 추가 되는거 만들다가 -_-;; rowselect 두번째 인자 값에 true 로 해야 된다는 -_-;; selectRow( Number row, [Boolean keepExisting], [Boolean preventViewNotify] ) Selects a row. Before selecting a row, checks if the selection model is locked and fires the beforerowselect event. If these checks are satisfied the row will be selected and followed up by firing the rowselect and selectionchange events. P..
2011.12.16 -
ExtJS 여러개의 폼 값을 하나의 버튼으로 전달하는 방법
getValues() 함수로 값을 얻어와서 params 로 붙여 넣고 php 작업에서 json_decode 한뒤 foreach 로 배열로 만들면 됨. Extjs 코드 var dbParams = Ext.encode(Ext.getCmp('add_module_form').getForm().getValues()); var dbParams2 = Ext.encode(Ext.getCmp('add_available_task_form').getForm().getValues()); var dbParams3 = Ext.encode(Ext.getCmp('add_storage_form').getForm().getValues()); Ext.Ajax.request({ method: 'post', url: ' 작업 수행 php 파일..
2011.12.06