PDA

View Full Version : How to improve performance of grid when panels are rendered in cells



valfumble
25 Mar 2011, 9:15 AM
I am rendering panels in grid cell via

renderer: function(value, metaData, record, rowIndex, colIndex, store) {

metaData.attr = 'id="' + id +'"';

p.render.defer(1,p,[id]);

}

Please provide any pointers or suggestions that can help..

thanks,
Valsar

kohyea
25 Mar 2011, 6:52 PM
on the renderer function, the html code is not added to DOM yet, it is just preparing the html string.

jay@moduscreate.com
29 Mar 2011, 4:31 AM
I wouldn't render panels in grids. Destruction won't happen automatically and a lot of ugly things will occur.