View Full Version : 1.0RC tpl Bugs

12 Nov 2010, 3:25 AM
Hello Team Member,

Code Generated Error:

" tpl: '<div class="contact2"><strong>{firstName}</strong> {lastName}</div><div>Test......</div>',"

This one working fine with previous version o.98.But in 1.0RC, it is not working.

I just want to display a text message after each group.I have used itemTpl, But it not working.

What should be the code is used here?


12 Nov 2010, 10:37 AM
Use itemTpl. Post a full sample of what you're using so that we can assist you

13 Nov 2010, 5:56 AM

In list-Search Example of sencha. I just want to add a group message after end of each group. Just like below code:

var listConfig = {
tpl: '<tpl for="."><div class="contact">{firstName} <strong>{lastName}</strong></div></tpl><div>Hello</div>',

This one worked fine with previous version. Now it is not working.
itemTpl is not working here.It display "Hello" message with each member.

What I have to do here to display it?


15 Nov 2010, 2:06 AM
I got the same problem. I want to add "view more" at the end of the List to load more data but it doesn't work with RC1.0.

var tpl = '<tpl for="."><div class="list-row">'+
'<div class="icon">{Icon}</div>'+
'<div class="info">'+
'<div class="name">{Name}</div><div class="description">{Description}</div>' +
'<div class="clear"></div>'+
'<div class="view-more x-hidden-display">Load 20 more...</div>';