1. #1
    Sencha User
    Join Date
    Aug 2012
    Location
    Pune, India
    Posts
    78
    Vote Rating
    0
    Pravin.Pawar is on a distinguished road

      0  

    Default Grid over ExtJS form

    Grid over ExtJS form


    Hi,

    I have to display list of the items over the ExtJS 4.1 form. Not sure if we can use GridPanel over the ExtJS form.

    My code will be something like below-

    var winChangeLogForm = Ext.widget('form', {
    layout: {
    type: 'vbox',
    align: 'stretch'
    },
    border: false,
    bodyPadding: 10,
    fieldDefaults: {
    labelAlign: 'top',
    labelWidth: 100,
    labelStyle: 'font-weight:bold'
    },
    items: [{
    xtype: 'grid',
    id: 'ChangeLogPanel',


    Please let me know how should I display grid/ list over the form with 5 columns
    Thanks, Pravin

  2. #2
    Touch Premium Member suzuki1100nz's Avatar
    Join Date
    Apr 2011
    Location
    New Zealand
    Posts
    446
    Vote Rating
    62
    suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough suzuki1100nz is a jewel in the rough

      0  

    Default


    What do you mean by "Over the form" ? Do you mean a popup window?
    If so used a window with the grid inside it.

  3. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    8,910
    Vote Rating
    443
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Per the API, here is a window with a grid inside.

    Code:
    Ext.create('Ext.window.Window', {
        title: 'Hello',
        height: 200,
        width: 400,
        layout: 'fit',
        items: {  
            xtype: 'grid',
            border: false,
            // One header just for show. There's no data,
            columns: [{header: 'World'}],
            // A dummy empty data store
            store: Ext.create('Ext.data.ArrayStore', {}) 
        }
    }).show();
    Scott.

  4. #4
    Sencha User
    Join Date
    Aug 2012
    Location
    Pune, India
    Posts
    78
    Vote Rating
    0
    Pravin.Pawar is on a distinguished road

      0  

    Default


    Thanks Scott.. this is what I was looking for. I have one more question which is posted at -

    http://www.sencha.com/forum/showthre...ing-colr-issue

    Could you please let me know how I can resolve that issue?
    Thanks, Pravin

Thread Participants: 2

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..."