fatnjazzy
fatnjazzy

Reputation: 6152

Extjs - force panel/grid to be 100% height

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

Upvotes: 12

Views: 22259

Answers (1)

Drasill
Drasill

Reputation: 4016

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.

Upvotes: 13

Related Questions