I would like to be able to generate a component from a template. A use case for it is that when I create a row in a DataView, I would like to include buttons and / or other components (possibly even a nested grid) in the displayed elements.
While I look at everything that I see, it is a template that calls another template. Is there a way to do what I need (generate a component instead of plain html) from an XTemplate?
XTemplate DOM, . DOM ( component.el.dom), JavaScript .
, ... XTemplate Component.applyTo Component , DOM . , , , applyTo, DOM.
XTemplate, , , applyTemplate. , Ext - HTML.
Source: https://habr.com/ru/post/1793432/More articles:What development stack should I learn to move from ASP.NET development to Java? - javaAndroid application crashes when changing orientation java.lang.IllegalArgumentException: invalid state class - view state is expected - androidProcessing permissions with a request signed by koala - ruby-on-railsPyparsing problem with operators - pythonProblem with ENUM in eclipse - javaIPhone Parsing Data - objective-cThe documentation generator for python3 - python-3.xWhat elements are allowed to be embedded inside the element for html5? - html5CodeIgniter - url solution - urlNetfilter and Scapy - pythonAll Articles