1. #21
    Sencha User
    Join Date
    Aug 2011
    Location
    Brescia - Italy
    Posts
    102
    Vote Rating
    4
    tino7_03 is on a distinguished road

      0  

    Default New feature

    New feature


    Ext.gp.Grid.zip
    Now it's possible set "showFilterRowPaging:true" for to have a paging feature inside filterRow.
    paging.jpg

  2. #22
    Sencha User
    Join Date
    Feb 2011
    Posts
    74
    Vote Rating
    3
    shaneavery is on a distinguished road

      0  

    Question B1 troubles

    B1 troubles


    Tino,

    Thanks for the updates. I am trying your extension with Beta1, and am running into some issues:

    Just curious if you have run into issues using Ext.gp.Grid with ST2 Beta1. Any ideas?

    PS: I am using Mitchell Simoens updated Ext.ux.touch.grid for B1.

  3. #23
    Sencha User
    Join Date
    Feb 2011
    Posts
    74
    Vote Rating
    3
    shaneavery is on a distinguished road

      0  

    Smile Some minor fixes to get Ext.gp.Grid to play nice with Ext.ux.touch.grid for ST2-B1

    Some minor fixes to get Ext.gp.Grid to play nice with Ext.ux.touch.grid for ST2-B1


    Tino,

    I just had to adjust a couple of lines in your class to get it to work in ST2-B1 using Mitchell Simoens updated Ext.ux.touch.grid for B1.

    First, I changed line 47 from this:

    Code:
    elem.update('');
    to this:

    Code:
    elem.setHtml('');
    I also adjusted your _handleGridPaint function to make the painting of the forward and back buttons a conditional so that the relevant block of code only runs if this.showFilterRowPaging == true. This keeps ST2 from complaining to the console that "backButton" etc. is "undefined". So I changed lines 219-227 in your code from this:

    Code:
            var total         = grid.store.getTotalCount(),
                currentPage   = grid.store.currentPage,
                pages         = Math.ceil(total / grid.store.getPageSize()),
                backButton    = Ext.ComponentQuery.query('button[gpGridFilterBackBtn='+this.getId()+']')[0],
                forwardButton = Ext.ComponentQuery.query('button[gpGridFilterForwardBtn='+this.getId()+']')[0]
                console.log();
    
            backButton.setDisabled(currentPage == 1);
            forwardButton.setDisabled(currentPage == pages);
    to this:

    Code:
            if (this.showFilterRowPaging==true) {
            var total         = grid.store.getTotalCount(),
                currentPage   = grid.store.currentPage,
                pages         = Math.ceil(total / grid.store.getPageSize()),
                backButton    = Ext.ComponentQuery.query('button[gpGridFilterBackBtn='+this.getId()+']')[0],
                forwardButton = Ext.ComponentQuery.query('button[gpGridFilterForwardBtn='+this.getId()+']')[0]
                console.log();
    
            backButton.setDisabled(currentPage == 1);
            forwardButton.setDisabled(currentPage == pages);
            }
    Hope this is useful to you. So far, after making these minor adjustments, Ext.gp.Grid is working as expected using Mitchell Simoens Ext.ux.touch.grid for ST2-B1.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar