Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extjs - force panel/grid to be 100% height

Tags:

height

extjs

I have a simple grid/panel that is located under a tab.

I cant get it to be in 100% height of the parent tab.

How do you do it?

height:'100%'

and

viewConfig:{ forceFit: true }

won't work.

Thanks

like image 481
fatnjazzy Avatar asked Oct 02 '10 18:10

fatnjazzy


1 Answers

forceFit does not have anything to do with it.

Often the problem is that your grid need to be inside a container with a "fit" layout.

But I cannot help you more without some code.

like image 56
Drasill Avatar answered Nov 09 '22 01:11

Drasill