Artur Keyan
Artur Keyan

Reputation: 7683

filedset collapse issue in ExtJS

I Use ExtJS 4.1 and use fieldset, collapsible: true, but initialy it must be collpsed, so i set collapsed: true, but the fieldset is not rendered, and it trows error in consol` Cannot call method 'getFrameInfo' of undefined, enter image description here

can please someone tell me the reason of issue, and the solution?

Upvotes: 0

Views: 269

Answers (1)

Theis Borg
Theis Borg

Reputation: 378

I had exactly the same problem. The problem has something to do with the layout of your parent. Just set the layout parameter

align: 'stretch'

of your parent and it will work just fine.

Here is a working example.

Upvotes: 1

Related Questions