473,385 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

How to use removeListener() in ExtJS?

Hello,

I am working on Extjs 2.3. I would like to know how to use removeListener() for Ext.Window. I want to disable window minimization.

Thanks in advance.
Aug 14 '10 #1
1 10850
gits
5,390 Expert Mod 4TB
i think the best way would be to configure the window to be 'unminimizable' ... since just dropping the handler would lead to a remaining tool-control so that just nothing would happen when the user clicks it ... but when you insist on removing the listener then the following should work:

Expand|Select|Wrap|Line Numbers
  1. var win = // ref to your Ext.Window;
  2.  
  3. win.removeListener('minimize', win.minimize);
  4.  
  5. // or the shorthand
  6.  
  7. win.un('minimize', win.minimize);
Aug 15 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: aadsaca | last post by:
Hi, I just want to know about how to make a program using CakePHP with EXTJS. Like displaying database contents with EXTJS' cool tables you know tnx, arjel
2
by: mrbadboy | last post by:
Hi, i tried to set columntree width using widht and forcefit property (in ExtJS). but im not getting the proper solutions. If i change the screen resolution its not fit with full width. i've...
5
by: sasimca007 | last post by:
Hello friends, If anybody knows extjs please clarify my doubt. I uses gridpanel(array grid) and i want to get the value of a column of a row when a row is clicked. That means,...
7
by: Aaron Gray | last post by:
What the hell is going on in source/adapter/ext-base.js on lines 36 and 45, Ext.lib.Dom.getViewportHeight and Width ? It seems to be using 'self' which seems to come from no where ? Also whats...
3
by: Prajaktaj | last post by:
Hi All, I want to integrate the sharepoint webpart into ExtJS. If anyone of you is having any idea please help me out. Thanks for any help
4
RamananKalirajan
by: RamananKalirajan | last post by:
Hi all, I am planning to develop an application using ExtJs. But the issue is i have a requirement such that if i choose a color in the formatter pane. the whole application should change to that...
3
by: vibhakhushi | last post by:
Hi, I'm trying to load data to my grid panel which resides in php using JsonStore object. But the problem is JsonStore is not getting data from php only. Can anyone tell me where i've gone wrong. Is...
2
by: santusapi | last post by:
Hello all, I am not getting how to declare a variable as public in ExtJS, so that i can access it from html document. It would be nice if i get how to call a function of extjs from html. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.