Forum /
Sencha Touch 2.x Forums /
Sencha Touch 2.x: Q&A /
Unanswered: List within fieldset
Unanswered: List within fieldset
I am trying to display a list into a fieldset, but the only thing i get is an empty fieldset.
Does anybody know if this is possible?
xtype: 'fieldset',
title: 'Werktijden',
width: '60%',
flex: 1,
items:
[
{
xtype: 'list',
mode: 'MULTI',
flex: 1,
itemTpl: '<div>{Description}</div>',
store: 'AdditionalConditionListByEmploymentAgreement',
ui: 'round',
emptyText: 'Er zijn geen aanvullende bepalingen aanwezig'
}
]
Sencha - Senior Forum Manager
Simply specifying flex : 1 does nothing because the fieldset doesn't use hbox or vbox layout. Your list has a height of zero right now because you didn't give it a height nor does it's parent give it a height via a layout
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us