Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: grid??????????

  1. #1

    Default grid??????????

    ????????????????????????
    http://extjs.cachefly.net/ext-2.2.1/ext-all.js???cachefly????????
    ?????????????????????
    ?????????????????????????????????
    (??????????)????????????????

    os xp pro ?????IE6 ext2.2.1
    Attached Files Attached Files

  2. #2
    Sencha - Support Team yuki's Avatar
    Join Date
    Jun 2007
    Location
    Chigasaki, Japan
    Posts
    273

    Default ?????????

    ????????????????
    Ext Japan, LLC [Twitter: @extjapan]
    [Ext JS / Ext GWT????????][????????????][Ext JS???????????????]

  3. #3

    Default ???????????????

    ????????
    ?????????????????????????????????
    Attached Files Attached Files

  4. #4
    Ext User integra's Avatar
    Join Date
    Sep 2008
    Location
    Japan
    Posts
    16

    Default

    ??????SDK????????resources??????????????????
    FireFox?Firebug??????????????????????????

  5. #5

    Default ??????????

    ?????????????????????

    grid?????????????????
    ?????????????????????
    ??????????????
    ???????????????????

    ?????????????????????store???
    ?????????????????????????????
    ????????????
    Attached Files Attached Files

  6. #6
    Ext User integra's Avatar
    Join Date
    Sep 2008
    Location
    Japan
    Posts
    16

    Default

    Quote Originally Posted by ak_ext View Post
    ?????????????????????
    ??????????????
    ????????????????????
    grid.js?PlanLedgerGridEx.firstGrid???????????????????
    firstGrid?ID?????Ext.getCmp()????????????????????
    ?????????????????

    Ext.ux.Andrie.pPageSize
    Live Demo
    http://extjs.com/forum/showthread.php?t=17257

    ?????????????????????????????????????

  7. #7

    Default next prev????

    ???????????
    ?????????????????
    ??????????????????????????
    ????????????????????
    next,prev?????????????

    ???Live Demo???????
    ??????????????
    Attached Files Attached Files

  8. #8

    Default ????????????

    ????????????????
    ?????????????

  9. #9
    Sencha - Support Team yuki's Avatar
    Join Date
    Jun 2007
    Location
    Chigasaki, Japan
    Posts
    273

    Default 2????????

    grid.js?2??????????

    Code:
    function changeGridPage(page)
    {
    	var pageCount = page.options[page.selectedIndex].value;
    	MenuGridEx.firstGrid.bbar.pageSize = pageCount;
    	MenuGridEx.firstGrid.getBottomToolbar().pageSize = parseInt(pageCount);
    	MenuGridEx.firstGrid.store.load({params:{start:0, limit:pageCount}});
    }
    ????????
    Code:
    function changeGridPage(page)
    {
    	var pageCount = page.options[page.selectedIndex].value;
    	MenuGridEx.firstGrid.getBottomToolbar().pageSize = parseInt(pageCount);
    	MenuGridEx.firstGrid.getBottomToolbar().pageSize = parseInt(pageCount);
    	MenuGridEx.firstGrid.store.load({params:{start:0, limit:pageCount}});
    }
    ?????????????????????????

    ?????Panel????????????????????????getBottomToolbar()/getTopToolbar()??????????????????????????????????

    ????????????????????tbar/bbar????????????????????????????????????????????Element??????????????????????pageSize???????????????

    Panel.initComponent??????????
    Code:
        initComponent : function(){
          ??????
    
            // shortcuts
            if(this.tbar){
                this.elements += ',tbar';
                if(typeof this.tbar == 'object'){
                    this.topToolbar = this.tbar;
                }
                delete this.tbar;
            }
            if(this.bbar){
                this.elements += ',bbar';
                if(typeof this.bbar == 'object'){
                    this.bottomToolbar = this.bbar;
                }
                delete this.bbar;
            }
          ??????
    Panel.onRender????????
    Code:
       onRender : function(ct, position){
            Ext.Panel.superclass.onRender.call(this, ct, position);
    
            this.createClasses();
    
            if(this.el){ // existing markup
                this.el.addClass(this.baseCls);
                this.header = this.el.down('.'+this.headerCls);
                this.bwrap = this.el.down('.'+this.bwrapCls);
                var cp = this.bwrap ? this.bwrap : this.el;
                this.tbar = cp.down('.'+this.tbarCls);
                this.body = cp.down('.'+this.bodyCls);
                this.bbar = cp.down('.'+this.bbarCls);
                this.footer = cp.down('.'+this.footerCls);
                this.fromMarkup = true;
               ??????
    Ext Japan, LLC [Twitter: @extjapan]
    [Ext JS / Ext GWT????????][????????????][Ext JS???????????????]

  10. #10

    Default next prev?????????

    ???????????????????????????????????
    ???????????????????next,prev??????
    page????????????????

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •