4

We are using autoHeight to window in ExtJS3. But now in ExtJS4 it is not working. Is there any alternative to this one? If yes,please let me know.

Cody Gray - on strike
  • 239,200
  • 50
  • 490
  • 574
Kiran
  • 20,167
  • 11
  • 67
  • 99

2 Answers2

4

Read this and this, maybe it helps

Londeren
  • 3,202
  • 25
  • 26
  • Yes, you want to use a formal layout. This will be a great boon all around as you proceed. – hpavc Jul 20 '11 at 07:34
1

dont set the height property then it should automatically get height depending on content it works for me,hope it will for u

Armance
  • 5,350
  • 14
  • 57
  • 80
  • Thanks for your reply.It will work but as per client requirement we need to set height when the client click on fieldset then autoHeight hs to execute i mean scrool bar has to appear in the window.Is there any chance to get this in ExtJS4? – Kiran Jul 20 '11 at 10:50
  • im not exactly sure i understood what u want, but if u set autoScroll : true it will appear only when needed,meaning when the height will exceed the window – Armance Jul 20 '11 at 10:54
  • yes i want to display scroll bar when components in window are increased.I mean window height will be restricted but scrollbar has to appear. – Kiran Jul 20 '11 at 10:56