PDA

View Full Version : Grid with lazily loaded expandable detail



Entropy
12 Feb 2013, 8:06 AM
I have a grid that will have a custom renderer to have an expandable section to show some related info (detail tables). But I would like to lazy load this detail for performance reasons and because my backing RDBMS doesn't support cross-tab queries.

I see the rowexpander user extension but as far as i can tell, that supports row expansion only if the data is in the store already. Maybe I am misunderstanding it? Anyway, I REALLY don't want to preload this data. What are my options?

droessner
12 Feb 2013, 8:35 AM
You can add an expandbody listener to the rowexpander and then load your data when the row is expanded and add the detail to the expanded row body.