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
    435
    Vote Rating
    37
    suzuki1100nz has a spectacular aura about suzuki1100nz has a spectacular aura about suzuki1100nz has a spectacular aura about

      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,653
    Vote Rating
    402
    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

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