Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is viewport in Extjs

anyone please briefly explain what viewport is in Extjs Javascript library? or provide a link which explains the basics.

Thanks in advance,

like image 641
Lohith MV Avatar asked Jan 19 '23 17:01

Lohith MV


2 Answers

Viewport is a container that automatically resizes itself to the size of the whole browser window. You can then add other ExtJS UI components and containers in it.

http://docs.sencha.com/ext-js/4-0/#!/api/Ext.container.Viewport

like image 91
Tommi Avatar answered Jan 21 '23 06:01

Tommi


Checkout this page.. Go to Layouts > Simple Viewport for demo

like image 32
Varun Achar Avatar answered Jan 21 '23 07:01

Varun Achar