Results 1 to 2 of 2

Thread: Passing DataView record data to a menu handler

  1. #1
    Sencha User
    Join Date
    Dec 2008
    Location
    Sofia
    Posts
    234
    Vote Rating
    9
      0  

    Default Passing DataView record data to a menu handler

    I have a DataView and a separate menu object.
    Upon clicking on a DataView item, the menu shows up and i want the appropriate handler to receive the DataView item record. Which is the right way for doing this?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      0  

    Default

    You can get the selected record from the selection model on the dataview.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Posting Permissions

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