X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..530ef4b6c5b943cfa68b779d11cf7de29aa878bf:/docs/output/Ext.XTemplate.html diff --git a/docs/output/Ext.XTemplate.html b/docs/output/Ext.XTemplate.html index 56e5a646..81189725 100644 --- a/docs/output/Ext.XTemplate.html +++ b/docs/output/Ext.XTemplate.html @@ -32,7 +32,7 @@ to true will reduce // compile immediately disableFormats: true // reduce apply time since no formatting - } + } ); For a list of available format functions, see Ext.util.Format.Template re : RegExp
The regular expression used to match template variables. @@ -45,7 +45,7 @@ examples d...
The
    -
  • Sample Data +
  • Sample Data

    This is the data object used for reference in each code example:

    var data = {
    @@ -71,7 +71,7 @@ examples demonstrate all of the supported features.

    };
  • -
  • Auto filling of arrays +
  • Auto filling of arrays

    The tpl tag and the for operator are used to process the provided data object: @@ -132,7 +132,7 @@ you can access the parent object's members via the parent object tpl.overwrite(panel.body, data);

  • -
  • Conditional processing with basic comparison operators +
  • Conditional processing with basic comparison operators

    The tpl tag and the if operator are used to provide conditional checks for deciding whether or not to render specific @@ -163,7 +163,7 @@ Using the sample data above: tpl.overwrite(panel.body, data);

  • -
  • Basic math support +
  • Basic math support

    The following basic math operators may be applied directly on numeric data values:

    @@ -184,7 +184,7 @@ For example:
     tpl.overwrite(panel.body, data);
  • -
  • Execute arbitrary inline code with special built-in template variables +
  • Execute arbitrary inline code with special built-in template variables

    Anything between {[ ... ]} is considered code to be executed in the scope of the template. There are some special variables available in that code: @@ -213,7 +213,7 @@ This example demonstrates basic row striping using an inline code block and the tpl.overwrite(panel.body, data);

  • -
  • Template member functions +
  • Template member functions

    One or more member functions can be specified in a configuration object passed into the XTemplate constructor for more complex processing: