1. #11
    Sencha User
    Join Date
    Nov 2012
    Posts
    17
    Vote Rating
    0
    marco1991 is on a distinguished road

      0  

    Default


    hi,

    i'm using this grid.. is pretty good but how can I put a spinner (xtype: spinnerfield) in a cell?

    thanks!

  2. #12
    Sencha User raskri's Avatar
    Join Date
    Dec 2008
    Location
    Stavanger, Norway
    Posts
    73
    Vote Rating
    0
    raskri is on a distinguished road

      0  

    Default Using the command tool with this Grid - getting errors

    Using the command tool with this Grid - getting errors


    This UX works perfectly! Thanks!

    What is the preferred way to include these files in my app?

    In app.js I have:
    Code:
    Ext.Loader.setPath({
        'Ext': '../touch/src',
        'MyApp': 'app',
        'Ext.ux.touch.grid': 'ux/Ext.ux.touch.grid'
    });
    
    // in one of my panels i require the List
    ...
    requires: ['Ext.ux.touch.grid.List'],
    ...
    This works fine when I run in "dev" mode. But when I compile with Sencah Cmd(sencha app build production), I get Errors.

    App structure:
    Code:
    /
    app.js
    app/
    ux/Ext.ux.touch.grid/List
    Getting the error:
    Code:
    com.sencha.exceptions.ExBuild: Failed to find any files for Ext.ux.touch.grid.List (x-app-build#273)   runAppBuild (x-app-build:273)   [anonymous] (x-app-build:545)   x_app_build (x-app-build:543)   <script> (anonymous:1)
    Any pointers are appreciated!

  3. #13
    Ext JS Premium Member
    Join Date
    Mar 2007
    Posts
    89
    Vote Rating
    3
    amackay11 is on a distinguished road

      0  

    Default


    Raski,

    Not sure what your issue is. I have
    Code:
         Ext.Loader.setPath({
            'Ext': 'touch/src',
            'myapp': 'app'
          , 'Ext.ux.touch.grid': 'ux'
          , 'Ext.ux': 'ux'
    });
    .....
     requires: [
       
            'Ext.ux.touch.grid.feature.Feature',
            'Ext.ux.touch.grid.feature.Editable',
    ....
    and files directly in app/ux.
    Andy

  4. #14
    Sencha User
    Join Date
    Sep 2012
    Posts
    2
    Vote Rating
    0
    tpapout is on a distinguished road

      0  

    Default Need help to use it in architect please

    Need help to use it in architect please


    Dear mitchellsimoens,
    I have already spend 1 full day to use your grid (which seems wonderful) in architect, without success.
    I know that it is no more than 5 minutes to you, to provide a full working example for this grid in architect.
    Please do it.
    Thank you in advance

  5. #15
    Sencha Premium Member
    Join Date
    Jul 2010
    Location
    Michigan
    Posts
    2
    Vote Rating
    0
    stogsdid is on a distinguished road

      0  

    Default Issue getting grid to fully display

    Issue getting grid to fully display


    Hi, I am able to get the grid to display fully when the grid is displayed from a tab but I am having an issue (using the same code) getting the grid to fully display when the grid is displayed using
    list.up('navigationview').push(showChart).
    . Only the Grid column headings are displayed. I have traced through the code and the store is loaded with data.

    Code:
    showChart = Ext.create('MobileAccess.view.dashboard.finance.AROvr120GridContainer');
    Grid Container:
    Code:
    Ext.define('MobileAccess.view.dashboard.finance.AROvr120GridContainer', {   extend: 'Ext.Panel',
       xtype: 'AROvr120gridcontainer',
        requires : [
                    'MobileAccess.view.dashboard.finance.AROvr120'
        ],
       config: {
    
    
            title: 'Highest A/R Over 120',
            items:
            [
                 {
                    xtype: 'fieldset',
                    docked: 'top',
                    style:
                    {
                           background: 'none'
                    },
                    defaults:
                    {
                        //iconMask: true
                    },
                    items:
                    [
                        {
                            xtype: 'selectfield',
                            name : 'OARlocation',
                            id: 'OARchartlocation',
                            label: 'Location',
                            placeHolder : 'Select',
                            valueField: 'WK_CDB',
                            displayField: 'WK_FULL'
                        },
                    ]
                 },
                 {
                     xtype: 'container',
                     id: 'totalARchartNodata',
                     hidden: true,
                     html: '<div class="NoChartMsg">&nbsp; The selected location does not have any A/R Over 120 Data to display. </div>'
                 },
               {
                     xtype: 'ARovr120'
               }
            ]
       }
    });
    Grid ARovr120:
    Code:
    Ext.define('MobileAccess.view.dashboard.finance.AROvr120', {    extend : 'Ext.ux.touch.grid.List',
        xtype  : 'ARovr120',
        id: 'ARovr120',
    
    
        requires : [
            'Ext.ux.touch.grid.feature.Feature',
            'Ext.ux.touch.grid.feature.Sorter',
            'Ext.field.Number',
            'MobileAccess.store.Grid',
            'MobileAccess.store.AROvr120s'
        ],
    
    
        config : {
            //title    : 'Highest A/R Over 120',
            //store    : true,
            store    :
            {
                fileds:
                    [ 'custname', 'amtovr120', 'totamt'],
                data  :
                 [
                     { custname : 'Jim Prout',           amtovr120 : '1,916,296,550', totamt: '2,170,550,505'  },
                     { custname : 'Douglas Prout',       amtovr120 : '  251,585,952', totamt: '  256,612,392'  },
                     { custname : 'Gianville Excaating', amtovr120 : '   3,482,204',  totamt: '    3,613,607'  },
                     { custname : 'Gerald Prout',           amtovr120 : '     424,113',  totamt: '      440,685'  },
                     { custname : 'Srah Smiles',               amtovr120 : '     341,896',  totamt: '      353,880'  },
                     { custname : 'Bolton Farms',           amtovr120 : '     125,290',  totamt: '      130,302'  },
                     { custname : 'Wes Johnstone',        amtovr120 : '     101,649',  totamt: '      105,715'  },
                     { custname : 'Jason',               amtovr120 : '      94,490',  totamt: '       97,926'  },
                     { custname : 'Chator Services',       amtovr120 : '      72,133',  totamt: '       74,210'  },
                     { custname : 'John Ferguson',          amtovr120 : '      60,731',  totamt: '       62,676'  },
                 ]
            },
    
    
            columns  : [
                {
                    header    : 'Customer Name',
                    dataIndex : 'custname',
                    width     : '40%'
    
    
                },
                {
                    header    : 'Over 120',
                    dataIndex : 'amtovr120',
                    width     : '20%'
                },
                {
                    header    : 'Total',
                    dataIndex : 'totamt',
                    width     : '20%'
                }
            ],
            features : [
                {
                    ftype    : 'Ext.ux.touch.grid.feature.Sorter',
                    launchFn : 'initialize'
                }
            ]
        }
    
    
        //applyStore : function() {
            //return new MobileAccess.store.Grid();
           // return new MobileAccess.store.AROvr120s;
       // }
    });
    Any guidance / thoughts are greatly appreciated

  6. #16
    Sencha User
    Join Date
    Sep 2013
    Posts
    2
    Vote Rating
    1
    huseyinsarioglu is on a distinguished road

      0  

    Default Need help to use it in architect please

    Need help to use it in architect please


    Quote Originally Posted by tpapout View Post
    Dear mitchellsimoens,
    I have already spend 1 full day to use your grid (which seems wonderful) in architect, without success.
    I know that it is no more than 5 minutes to you, to provide a full working example for this grid in architect.
    Please do it.
    Thank you in advance
    Hi mitchell,
    I need too an example for architect. Please help.
    Thanks.