PDA

View Full Version : [DUP] TypeError: 'undefined' is not an object (evaluating 'layoutDefinition.layoutConfigs')



everhow@163.com
21 Jan 2013, 5:32 AM
1. I want to set a custom layout data for Ext.panel.Panel


2. I use the layout property, and select the object type


3. but it cann't work.


4. help help help.

for video demo.

http://v.youku.com/v_show/id_XNTA1MDAxODAw.html

jjohnston
21 Jan 2013, 1:45 PM
Can you give more information about what exactly you are wanting to set the layout to? What do you mean by "custom layout data"?

The ability to specify the layout config as a free-form Object was considered a bug in 2.1 and is being removed in 2.2, so if you can help us understand why you need it then we can try and accommodate.

Ehauske
25 Jan 2013, 5:40 PM
Same problem here, wanted to config a FormLayout in a simple Container.

I know it may sound odd, but is it valid?