View Full Version : Need Help With RowExpander ??

1 Aug 2010, 9:48 PM
Hello folks, please I need to get this rowexpander working, I have a Grid view that displays records of type Loan, each Loan has a collection of LoanSettlement, I want to expander to show the LoanSettlements for a particular Loan record but I don't know how to do this.

My Loan class already has getter/setter for it's LoanSettlement and this collection is populate with an EARGER fetch operation, guaranteeing that the LoanSettlements are pulled when the Loan is requested (wondering if this is necessary though).

Please how can I setup the expander to display this "contained" collection. I suspect I will have to employ tpl.applyTemplate(), but I don't know how to work with the JavaScriptObject parameter needed by that function. I'll appreciate hints.

2 Aug 2010, 1:07 AM

There is one sample available for using the RowExpander.

It is using XTemplate for displaying the expander entries.