How to change Height and Width of XTemplate

Dear All,
I am using Ext.Dataview component and have XTemplate inside it. I want users to resize this Dataview components i.e. User can change the height and width of this component. The problem is, when Dataview's size changes, due to resizing, the XTemplate[DIV] inside the dataview, remains of the same height and width. I will like these XTemplates[DIV] to resize themself.