Click to search on your search term.
Subscribe to Fig Leaf Tutorials

Need help with a project? Contact us at
From code reviews to project "jumpstarts" and full life-cycle development, we've got you covered!
Check out our case studies!
Follow us on Twitter!
Click here to join our Facebook group!

Ready to upgrade your skills? Try these instructor-led classes in Washington, DC:

Working with XTemplates

Page of 168

The Ext.XTemplate class generates markup from abstract data structures. XTemplate syntax supports the following:

  • Automatic looping through arrays and records
  • Conditional processing with if and switch constructs
  • Executing inline Javascript code
  • Custom template functions
  • Basic math function support

Templates can be bound to an Ext.panel.Panel or to an Ext.view.View (xtype: dataview). The primary difference between these view classes is the following:

  • Panels automatically update whenever their setData() method is explicitly invoked.
  • Ext.view.View instances are bound to an and automatically refresh their contents whenever data in the Store is changed.
Page of 168
comments powered by Disqus