1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Posts
    165
    Vote Rating
    0
    ericd is on a distinguished road

      0  

    Default YAHOO.ext.View and DomHelper.Template

    YAHOO.ext.View and DomHelper.Template


    All,

    Is there any way of specifying the YAHOO.ext.DomHelper.Template AFTER the creation of the YAHOO.ext.View, something like a setTemplate() method? I have looked at the documentation and I saw nothing to that effect.

    Eric

  2. #2
    Ext Premium Member BernardChhun's Avatar
    Join Date
    Mar 2007
    Location
    Quebec, Canada
    Posts
    831
    Vote Rating
    2
    BernardChhun will become famous soon enough

      0  

    Default Re: YAHOO.ext.View and DomHelper.Template

    Re: YAHOO.ext.View and DomHelper.Template


    Quote Originally Posted by ericd
    All,

    Is there any way of specifying the YAHOO.ext.DomHelper.Template AFTER the creation of the YAHOO.ext.View, something like a setTemplate() method? I have looked at the documentation and I saw nothing to that effect.

    Eric
    hey eric,

    the View's tpl property will do the trick for you. Just set it to your template after you load the View with data.

    docs: http://www.yui-ext.com/deploy/yui-ex....View.html#tpl

  3. #3
    Ext JS Premium Member
    Join Date
    Mar 2007
    Posts
    165
    Vote Rating
    0
    ericd is on a distinguished road

      0  

    Default


    Like DUH thanks... I did find a way around it but this will be much better

Similar Threads

  1. Ext.DomHelper.Template: one template, ten YUI grids
    By moraes in forum Community Discussion
    Replies: 11
    Last Post: 18 Dec 2012, 4:55 AM
  2. Ext.DomHelper.Template or Ext.Template?
    By mystix in forum Ext 2.x: Help & Discussion
    Replies: 4
    Last Post: 1 Mar 2007, 3:05 PM
  3. View / Template - the difference?
    By JohnT in forum Ext 1.x: Help & Discussion
    Replies: 2
    Last Post: 9 Feb 2007, 8:16 AM
  4. DomHelper.Template and UpdateManager
    By valc in forum Ext 1.x: Help & Discussion
    Replies: 0
    Last Post: 4 Jan 2007, 8:44 AM
  5. [OPEN] DomHelper.Template.compile
    By Animal in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 26 Oct 2006, 7:17 AM

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar