PDA

View Full Version : When and How to use XTemplate



Pat Emi
13 Sep 2012, 11:26 PM
Hi,
My current app needs the image and details of a newly created profile in a box added to a panel.

This panel contains as many profiles that are created. Now my challenge is what can i use to

display the image and details(Name and description)? I have heard a little about XTemplate but

don't know anything about it.

My question is what exactly can i use to achieve this concept?
Thanks in advance.
Pat.

scottmartin
14 Sep 2012, 9:54 AM
There are many examples in the API:
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.XTemplate

Scott.

Pat Emi
17 Sep 2012, 4:26 AM
Thanks...... I will check it out.

Pat Emi
17 Sep 2012, 4:33 AM
@Scott

But, is there any other component i can use to achieve this, i will appreciate any other suggestion.

Thanks.

Pat.

dawesi
17 Sep 2012, 4:47 AM
check out dataviews:

http://docs.sencha.com/ext-js/4-1/#!/api/Ext.view.View

there is a great example in the docs