Calling Disclosure event on List select
I am very new to this framework so I may be asking the wrong question, but here goes:
I have an Ext.List with the onItemDisclosure set to a function which takes the record parameter and moves on to another Panel in the card layout passing the record value to the update function of the newly displayed panel. This all works fine.
I need to have similar functionality when a list item is selected. I have added a listener to the select event which works fine but how do I get to the record which was selected in the same way as I would with onItemDisclosure? - This needs to be passed to the update function for another panel.