View Full Version : An Ext control inside the Row Expanded area of Grid

15 Nov 2010, 1:39 AM

I have seen some examples where we can use the GridView's row expanded area to display a bit more information. Like the following code snippet written for viewconfig of gid.

getRowClass:function(record, rowIndex, p, store) {
p.body = record.get('rowbody');
return p.body ? 'x-grid3-row-with-body' : '';

Now, my question is, can I display an ExtJs control in that area instead of htmls ? For example, I want display a Calender control for some rows into the expanded area. What would be the best way to do that?

Any suggestions/advices would be much appreciated.