Unanswered: Showing Disclosure indicator for only selected rows in list
Unanswered: Showing Disclosure indicator for only selected rows in list
Hi,
I just stared learning sencha touch. I am trying to displays disclosure indicator only for few cell which has child data. Can any one please tell me if this possible?
Hi Mitchell. Whats the point of the disclosureProperty config on Ext.List? Isn't it used to tell the List which items have a disclosure? So lets say you set disclosureProperty: 'disclosure', add a 'disclosure' field in the model, then add a disclosure field in the data, specifying certain records as disclosure: false and certain to true.
To me, it seems logical that if disclosure is false, this should act as a flag to hide the disclosure arrow, but maybe I'm misunderstanding the use of disclosureProprty
disclosureProperty : String2 A property to check on each record to display the disclosure on a per record basis. This property must be false to prevent the disclosure from being displayed on the item.
ah, ok, I wasn't sure because I'm using the disclosureProperty and it doesn't seem to work. As I explained in my last post, I added the disclosureProperty to the list config, I added the field to the model and data and I still see all the disclosure arrows regardless of setting certain records disclosure field to false
EDIT: AUGH, sorry, I had a typo in my model field. Sorry for the stupid post.