Page 24 of 30 FirstFirst ... 142223242526 ... LastLast
Results 231 to 240 of 295

Thread: Ext.ux.touch.grid

  1. #231
    Sencha User
    Join Date
    Dec 2010
    Posts
    34
    Vote Rating
    0
      0  

    Default horizontal and paging example don't work right in 2.1

    Hi Mitchell.I Just upgrade my app to 2.1.But horizontal and paging example don't work right.Please take a look at the attached pictureThanks.
    Attached Images Attached Images

  2. #232
    Sencha User
    Join Date
    Dec 2010
    Posts
    34
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by lincon6 View Post
    Hi Mitchell.I Just upgrade my app to 2.1.But horizontal and paging example don't work right.Please take a look at the attached pictureThanks.
    Paging fix:
    Code:
            goToPicker  : {
                left: 0,
                top: 0,
                cls: Ext.baseCSSPrefix + 'select-overlay',
                modal         : true,
                width         : 200,
                height        : 200,
                layout        : 'fit',
                hideOnMaskTap : true
            }
    
        handleGoToButton : function(btn) {
            var me     = this,
                picker = me.getGoToPicker(),
                pages  = me.getPages(),
                i      = 1,
                data   = [],
                index,
                record,
                list = picker.down('list');
    
    
            var store = list.getStore();
    
    
            store.removeAll();
    
    
            for (; i <= pages; i++) {
                data.push({ page : i });
            }
    
    
            store.add(data);
            index = store.find("page", this.getGrid().getStore().currentPage, null, null, null, true);
            record = store.getAt((index == -1) ? 0 : index);
    
    
            if (!picker.getParent()) {
                Ext.Viewport.add(picker);
            }
    
    
            picker.showBy(btn);
            list.select(record, null, true);
        },

  3. #233
    Ext JS Premium Member
    Join Date
    Sep 2008
    Location
    Raleigh, NC
    Posts
    164
    Vote Rating
    9
      0  

    Default 2.1 issues resolved note

    For sencha touch 2.1, I ran into two issues with the touchgridpanel in a card layout. Probably newbie mistakes as I just downloaded it ~ 10 minutes ago - but a heads up for anyone else with these issues:

    1) I had to make sure my cls contained 'touchgridpanel' vs just say 'card card4' or it didn't force that class on the outermost div tag (and nothing looked right). I'd think the ux could force that cls onto the resulting html to avoid that...

    2) It didn't render any data if I did Ext.create('Ext.ux.touch.grid.List', {..}) vs {xtype: 'touchgridpanel', ...}

  4. #234
    Sencha User
    Join Date
    Mar 2008
    Location
    Dsseldorf, Germany
    Posts
    9
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by mwalzak View Post
    I tried running the showhide example, but instead of the column disappearing, just the header for the column is hidden.

    Is there a fix/workaround for this?

    Thanks
    Hey - had the same issue by myself.
    This is a bug in Sencha Touch 2.1 - until 2.1.1 isn't generally available you can use the fix described under:
    http://www.sencha.com/forum/showthre...l=1#post909763

    Use the patch of alexfluger as the one of TommyMaintz disabled the header output.

    This solution worked for me
    hth

  5. #235
    Sencha User
    Join Date
    Nov 2012
    Posts
    17
    Vote Rating
    1
      0  

    Default

    it is possible to make editable a grid cell?

  6. #236
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,323
    Vote Rating
    1294
      0  

    Default

    Quote Originally Posted by marco1991 View Post
    it is possible to make editable a grid cell?
    Look at the examples.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  7. #237
    Sencha User
    Join Date
    Nov 2012
    Posts
    17
    Vote Rating
    1
      0  

    Default

    here i can see the result, but the code?

    http://www.mitchellsimoens.com/Sencha-Projects/demos/

  8. #238
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,323
    Vote Rating
    1294
      0  

    Default

    Those are old ST1 projects
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  9. #239
    Sencha User
    Join Date
    Nov 2012
    Posts
    17
    Vote Rating
    1
      0  

    Default

    doesn't exist in ST2?

  10. #240
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,323
    Vote Rating
    1294
      0  

    Default

    Sure the grid does but that link you linked to is for ST1
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Page 24 of 30 FirstFirst ... 142223242526 ... 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
  •