Answered: Disclosure icon not displaying in list view

Answered: Disclosure icon not displaying in list view

I am using MVC in my project and in my view I have set the "onItemDisclosure: true" but when the list is displayed the icon is not displayed. If I set the onItemDisclosure to a function it displays. I want my function to be in the controller an not in the view. Is this possible?