PDA

View Full Version : ExtJS rowexpander - Collapse-Icon on render



matscher
27 Apr 2012, 5:13 AM
I use the rowexpander plugin in a grid. The problem is that after rendering the plugin shows the collapse-icon at each row instead of the expand-icon.



//RowExpander
{
ptype: 'rowexpander',
rowBodyTpl : [
'<p><b>Project name:</b> {project_name}</p><br>',
'<p><b>Summary:</b> {desc}</p>'
],
}



34611


If the collapse-icon is clicked it changes to the expand-icon and from there it works fine.
What's the reason for this behavior and how can I solve it?
regards!

scottmartin
27 Apr 2012, 8:06 AM
Can I get the exact version of ExtJS4 that you are using?
Are you using the latest release?
http://www.sencha.com/blog/ext-js-4-1-final-released/

Regards,
Scott.

matscher
27 Apr 2012, 10:15 AM
Thank you for your answer.

I'm using 4.0.7



Regards

scottmartin
27 Apr 2012, 10:39 AM
Please check 4.1 with your code before begin to research this as a open bug.

Regards,
Scott.