Ravi
Ravi

Reputation: 2340

Without height and width list not shown in sencha touch

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

Answers (1)

kakaeriel
kakaeriel

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

Related Questions