Note: 4.0.x Only. This has not been fully tested with 4.1. I will update it soon. This extends the ExtJs4 RowExpander to use ajax requests to retrieve the body template for each row. Row body templates can be cached so that only the first "expand" for any given row will make a request. The expander can take url that will serve the templates. The record data is parameterized with the request so that your server can generate different templates based on attributes of the record. Please see the demo folder for example usage.
devakone/Ext.ux.AsyncRowExpander
ExtJs Grid row expander that performs an Ajax request to retrieve the row templates.
JavaScript