1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    18
    Vote Rating
    0
    charan@dev.com is on a distinguished road

      0  

    Exclamation Records draggable with in a grid..

    Records draggable with in a grid..


    Team, I want the records in the grid to be dragged up and down..

    Here, is my code:


    var myData = {
    records : [
    {name:'Charan'},
    {name:'Balaji'},
    {name:'Ravi'}
    ]

    };


    var fields = [
    {name: 'name', mapping : 'name'}
    ];

    // create the data store
    var firstGridStore = new Ext.data.JsonStore({
    fields : fields,
    data : myData,
    root : 'records',

    });


    // Column Model shortcut array
    var cols = [
    {id : 'name', header: "Requirement Name", width: 200, sortable: true, dataIndex: 'name',flex:true}
    ];


    // declare the source Grid
    var firstGrid = new Ext.grid.GridPanel({
    ddGroup : 'secondGridDDGroup',
    store : firstGridStore,
    columns : cols,
    enableDragDrop : true,
    collapsible : true,
    stripeRows : true,
    autoExpandColumn : 'name',
    width : 400,
    region : 'west',
    title : 'Phase',
    viewConfig: {
    plugins: {
    ptype: 'gridviewdragdrop',
    dragText: 'Drag and drop to reorganize'
    }
    }

    });


    Before I posted the same ques. I gone through this link , but cannot sort it out.
    http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.plugin.DragDrop

    C
    an anyone help me in getting this functionality...

  2. #2
    Sencha User
    Join Date
    Oct 2011
    Posts
    18
    Vote Rating
    0
    charan@dev.com is on a distinguished road

      0  

    Default


    I am using extjs 3.0, but the example in the link is Extjs 4.0..

    I dont know what to do. Please guide me...

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