1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    23
    Answers
    1
    Vote Rating
    0
    Abhi_aec is on a distinguished road

      0  

    Default Answered: Problem in Ext.ux.touch.grid-master 2.1.0

    Answered: Problem in Ext.ux.touch.grid-master 2.1.0


    Hi!



    I am using Ext.ux.touch.grid-master which is updated to work with 2.1.0 final from github with Sencha Touch 2.1
    My problem is that i'm not able to find grid in right manner, means getting column header in on stack then corresponding data in one by one stack.


    But it should be in right manner.


    Below are the code from where I'm using grid component:
    In below code List, feature, Sorter and Abstract are available in provided grid component from github
    , i'm just modify them according to my project but not much, that's why not attaching them.


    Code:
    Ext.define('BenefitAccess.view.Table2Panel', {    extend: 'Ext.Panel',
        alias : 'widget.Table2Panel',
        xtype: 'table2Panel',
        id:'table2Panel',
    
        requires: [
    'BenefitAccess.store.TableStore',
    'BenefitAccess.view.List',
    'BenefitAccess.view.View',
    'BenefitAccess.view.feature.Feature',
    'BenefitAccess.view.feature.Sorter',
    'BenefitAccess.view.feature.Abstract'
        ],
    
        config: {
            layout:'fit',
    //padding:5,
            items:[
                {
                    xtype: 'touchgridpanel',
                    flex:1,
                    store: 'TableStore',
    
                    features   : [
                    {
                        ftype    : 'BenefitAccess.view.feature.Editable',
                        launchFn : 'initialize'
                    },
                    {
                        ftype    : 'BenefitAccess.view.feature.Sorter',
                        launchFn : 'initialize'
                    }
                ],
                columns   : [
                    {
                        header    : '<font size="3">Status</font>',
                        dataIndex : 'Status',
                        style    : "font:13px Verdana;text-align: center;",
    //cls      : "centered-cell",
                        width     : '10%',
                        filter    : { type : 'string' }
                    },
                    {
                        header    : '<font size="3">Grant Date',
                        dataIndex : 'GrantDate',
                        style    : "font:13px Verdana;text-align: center;",
    //cls      : "centered-cell",
                        width     : '15%',
                        filter    : { type : 'string' }
                    },
                    {
                        header    : '<font size="3">Grant Number',
                        dataIndex : 'GrantNumber',
                        style    : "font:13px Verdana;text-align: center;",
    //cls      : "centered-cell",
                        width     : '10%',
                        filter    : { type : 'string' },
                    },
                    {
                        header    : '<font size="3">Grant Type',
                        dataIndex : 'GrantType',
                        style    : "font:13px Verdana;text-align: center;",
    //cls      : "centered-cell",
                        width     : '10%',
                        filter    : { type : 'numeric' },
                    },
                    {
                        header    : '<font size="3">Grant Price',
                        dataIndex : 'GrantPrice',
                        style    : "font:13px Verdana;text-align: center;",
    //cls      : "centered-cell",
                        width     : '10%',
                        filter    : { type : 'numeric' }
                    },
                    {
                        header    : '<font size="3">Expiration Date',
                        dataIndex : 'ExpirationDate',
                        style    : "font:13px Verdana;text-align: center;",
                        cls      : "centered-cell",
                        width     : '10%',
                        filter    : { type : 'numeric' }
                    },
                   {
                        header    : '<font size="3">Granted',
                        dataIndex : 'Granted',
                        style    : "font:13px Verdana;text-align: center;",
    //cls      : "centered-cell",
                        width     : '10%',
                        filter    : { type : 'numeric' }
                    },
                    {
                        header    : '<font size="3">Exercised',
                        dataIndex : 'Exercised',
                        style    : "font:13px Verdana;text-align: center;",
    //cls      : "centered-cell",
                        width     : '10%',
                        filter    : { type : 'numeric' }
                    },
                    {
                        header    : '<font size="3">Outstanding',
                        dataIndex : 'Outstanding',
                        style    : "font:13px Verdana;text-align: center;",
    //cls      : "centered-cell",
                        width     : '10%',
                        filter    : { type : 'numeric' }
                    },
                    {
                        header    : '<font size="3">Exercisable Value',
                        dataIndex : 'ExercisableValue',
                        style    : "font:13px Verdana;text-align: center;",
    //cls      : "centered-cell",
                        width     : '5%',
                        filter    : { type : 'numeric' }
                    }                
                ]
                }
    
            ]
        }
    
    });



    also attaching screen shot of grid to understand original problem:

    GridSC.jpg

    Thanks in advance.

    Regards,
    Abhi

  2. Did you include the CSS?

  3. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,754
    Answers
    3462
    Vote Rating
    827
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Did you include the CSS?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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.

  4. #3
    Sencha User
    Join Date
    May 2012
    Posts
    23
    Answers
    1
    Vote Rating
    0
    Abhi_aec is on a distinguished road

      0  

    Default


    Done, after including css.
    Thanks a lot..

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi