Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shinobukawano opened this issue Dec 31, 2015 · 1 comment

Comments

@shinobukawano
Copy link
Owner

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
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant