PDA

View Full Version : Custom Template with Extjs components.



Ilay
9 Dec 2013, 5:14 AM
Hi. Any more first time encounter with problem: using custom html and Extjs components together
I would like to create a container with custom htm with Extjs components (buttons, checkboxes etc). It need for flexible positioning Extjs components . For example I create container with tpl

tpl:"<span>Status: <b>{Status}</b> [place for button] </span>"
I want use Ext.button.Button in [place for button] and update {Status} by data. How it can works together, maybe somebody have good solutions, examples or practice. Ready for discussion, i'm really need advice. Thanks for any helps

skirtle
10 Dec 2013, 12:55 AM
CTemplate:

http://www.sencha.com/forum/showthread.php?148066