Call a function in an ExtJS XTemplate

Have a look at the XTemplate constructor API docs. There are lots of good examples there. Quoting:

Anything between {[ … ]} is considered code to be executed in the scope of the template.

So you should be able to do something like:

'<img src={[this.getThumbUrl(rawThumbUrl)]} />',

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)