PDA

View Full Version : NestedList - getItemTextTpl override



jjh
14 Feb 2012, 12:49 PM
How do you override functions in Sencha Designer? Specifically I'm trying to override the getItemTextTpl function on a NestedList. I don't see that function listed.

aconran
14 Feb 2012, 1:04 PM
We are working on formal support for overriding functions.

For now you will need to make your NestedList a top level component. (You can promote it if it isn't there already.) You will then be able to add a BasicFunction to it. You can then match the name and params and write your own implementation of getItemTextTpl.

jjh
15 Feb 2012, 12:04 PM
Thanks, I had tried adding a function but must have been doing something incorrectly. It is working now.