+ section = this.getCmp(),
+ features = [{
+ ftype: 'rowbody',
+ getAdditionalData: function(data, idx, record, orig, view) {
+ var o = Ext.grid.feature.RowBody.prototype.getAdditionalData.apply(this, arguments);
+ Ext.apply(o, {
+ rowBody: data[bodyField],
+ rowBodyCls: section.previewExpanded ? '' : hideBodyCls
+ });
+ return o;
+ }
+ },{
+ ftype: 'rowwrap'
+ }];