Is it possible to use loop in items property in Viewport?
Below is the code I am using to create a modal-
Ext.Viewport.add({
xtype: 'panel',
style: {
'background-color': 'transparent;'
},
cls: 'my-panel',
float: true,
modal: {
style: {
'opacity': '0.5'
}
},
width: '100%',
height: '86%',
styleHtmlContent: true,
items: [
{
}
]
});
I have an array with data. I need to loop through that array and put value
in the items property on the above example. But I couldn't use loop in
there. Is there any way to give a loop through that array and put values
in the items? Thanks in advance.
No comments:
Post a Comment