Results 1 to 2 of 2

Thread: EXT JS 4.1 - Grid Listener and Drag / Drop

  1. #1

    Default EXT JS 4.1 - Grid Listener and Drag / Drop

    Hi All,
    I have 2 grids and I am trying to implement a drag and drop featue. It was working with the code in a popup until I moved it to a seperate comonent (a container). I am not sure what is making it to not work. None of the grid events are called. Is Ext bocking the events in nested components ?

    UPDATE I can see that the drag and drop code works fine. The issue is when I combine it with different component in view.
    if I implement it like below it does not work. Here 'userrole' is my drag and drop grids. If I comment out the Button and 'userform' it works as expected. Any one can suggest on this ?


    you can find the code at the following location.
    http://stackoverflow.com/questions/2...-drop-in-extjs

  2. #2
    Sencha User slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    6,165
    Answers
    505

    Default

    Nothing is jumping out at me in your code snippets except that I wouldn't expect to see the buttons config as an item in the items array:

    Code:
    buttons: [{
        text: 'Modify User',
        name: 'modifyUser'
    }, {
        text: 'Add New User',
        name: 'addNewUser'
    }]
    Even better than posting code snippets would be to post a test case at https://fiddle.sencha.com to allow users to test along with you.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •