I need to adjust the height of dataview list in sencha touch based on number of items. What I have done so far is just this configs in that list
config: {
fullscreen: true,
height:'100%'
store: 'CategoryListStoresecond',
loadingText: "Loading ...",
emptyText: "<div>No items found.</div>",
onItemDisclosure: true,
grouped: false,
itemTpl : '<div id="{Name}"> <img src="{Image}" /> <!--<h2>{Name}</h2>--!><p>{Name}</p></div>',
},