Reputation: 2340
This is my code when i mentioned specfic height and width to to only that it shown.
{
xtype: 'list',
itemId : 'propertyListId',
height : 600,
width : 1200,
store: 'PropertyListStore',
itemTpl: '{PropertyId}',
style: 'background-color: white;',
}
Please any one suggest me?
Upvotes: 0
Views: 44
Reputation: 1
create panel in outside you list, and set panel layout = fit
layout: : 'fit',
items: [{
xtype: 'list',
itemId : 'propertyListId',
store: 'PropertyListStore',
itemTpl: '{PropertyId}',
style: 'background-color: white;',
}]
Upvotes: 0