I'm having a problem with a list whose setOnItemDisclosure method does not work properly.
If the disclosure is set to false initially and I set it to true via .setOnItemDisclosure(true), the disclosure icons show, but if I do setOnItemDisclosure(false) after, they do not hide. The same happens in both my code and when I try it in the console.
I have a work around by doing:
But I want to avoid doing this as it's not very 'clean'. Has anyone else encountered this issue with lists?Code:Ext.DomQuery.select('.picture-list .x-list-item .x-list-disclosure').style['display'] = 'none'
I'm using Sencha 2.1