Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

dont drag window header outside of browser in extjs

Tags:

forms

extjs

I have create a form in extjs, when i drag it, the portion of draggable area goes outside of browser and I have no oprtion but only refresg the page again. Is there any function so that i can restrict the draggable area, so the user cant drag the window outside of browser.

like image 517
Dhananjay Avatar asked Mar 12 '12 07:03

Dhananjay


1 Answers

You can set constrain: true in the Ext.Window config

like image 157
Shashwat Avatar answered Oct 26 '22 23:10

Shashwat