Ext.ux.AccordionList icon indicating copy to clipboard operation
Ext.ux.AccordionList copied to clipboard

Is it possible to apply a XTemplate to the headerCloseTpl and headerOpenTpl ?

Open shinobukawano opened this issue 9 years ago • 1 comments

Quote.

We have a question related to the following extesionm that we are using for our sencha Touch Project.

https://github.com/shinobukawano/Ext.ux.AccordionList/blob/master/architect/AccordionList.js

Is it possible to apply a XTemplate to the headerCloseTpl and headerOpenTpl ? As we would require to evaluate values from the record (using Xtemplate functions), and show different things on the header accordingly.

shinobukawano avatar Dec 31 '15 14:12 shinobukawano

Thanks for using my custom component!

And sorry, the tpl of the accordion list cannot be set by XTemplate..

I'd like to add the support for it, but I cannot implement soon.

If you never mind, please modify the code as you like.

https://github.com/shinobukawano/Ext.ux.AccordionList/blob/master/src/ux/AccordionList.js#L478

https://github.com/shinobukawano/Ext.ux.AccordionList/blob/master/src/ux/AccordionList.js#L488

Or I will fix it in the near future.

shinobukawano avatar Dec 31 '15 14:12 shinobukawano