Study/Ext JS2011. 4. 28. 10:27
Posted by 굥쓰
Study/Ext JS2011. 4. 25. 20:21




        // 저장소 데이터 가져오기
        this.store = SGP.AUTH.Data.connectionLogStore(this.url_list, this.pagesize);

        /**
        * Paging 시 store 가 로드되기 전에 검색 관련 params 를 설정.
        * @author 김기용
        * @since 2011.04.25
        */
        this.store.on({
            'beforeload': {
                fn: function (store, options) {
                    method = 'UserID';
                    keyword = this.userID;

                    // 검색 기간
                    var startDate = Ext.get("StartDate").dom.value;
                    var endDate = Ext.get("EndDate").dom.value;
                    var where = startDate + "::" + endDate;

                    if (where == "::") {
                        where = '';
                    }

                    store.baseParam = { 'method':'UserID', 'keyword':this.userID, 'where': where };
                }
            }
        });

Posted by 굥쓰
Study/Ext JS2011. 4. 22. 13:45
그리드가 자동으로 늘어 났다 주어 들었다 하도록 만들고 싶은데.. 속성을 아무리 변경해 봐도 안 되네요.

구글에서 관련 정보 찾아서 링크 겁니다. 샘플 실행해 보니 잘 되는군요 ^^

http://loianegroner.com/2010/08/how-to-resize-an-extjs-panel-grid-component-on-window-resize-without-using-ext-viewport/
Posted by 굥쓰