Search Type: Posts; User: jlowe
Search: Search took 0.03 seconds.
-
24 Jul 2009 6:32 AM
- Replies
- 253
- Views
- 97,784
Here's what I did:
initEvents: function() {
this.validated = false;
this.on('show', function(){
this.validated = false; -
4 Jun 2009 6:30 AM
Jump to post Thread: Default Button by jlowe
- Replies
- 13
- Views
- 3,966
Thanks Tim. The flag does the job.
-
3 Jun 2009 1:40 PM
Jump to post Thread: Default Button by jlowe
- Replies
- 13
- Views
- 3,966
Makes sense.
I'm confused by your statement "I don't see that behavior with 2.2.1 or the latest 3.0 code from SVN." Given that we want to execute the function when the user presses Enter or... -
3 Jun 2009 9:40 AM
Jump to post Thread: Default Button by jlowe
- Replies
- 13
- Views
- 3,966
tryanDLS,
I changed the code to use the "keys" configuration, and removed the explicit key listener. However I'm still getting the same result, i.e. if the submit button has focus when the enter... -
3 Jun 2009 7:30 AM
Jump to post Thread: Default Button by jlowe
- Replies
- 13
- Views
- 3,966
Understood. But isn't that the same thing that you've suggested above, i.e.:
keys: {
key: Ext.EventObject.ENTER,
fn: function() {alert('Enter')}, <- your click handling here
scope:this... -
2 Jun 2009 1:49 PM
Jump to post Thread: Default Button by jlowe
- Replies
- 13
- Views
- 3,966
We're on 2.2.1 and getting this behavior consistently. Here is the code. Any ideas?
Thanks,
-Jeff
App.CreateProjectForm = Ext.extend(Ext.form.FormPanel, {
initComponent : function()... -
2 Jun 2009 12:19 PM
Jump to post Thread: Default Button by jlowe
- Replies
- 13
- Views
- 3,966
One gotcha on this approach, is that if the button has focus, then the function may be executed twice, once for the key mapping, and once for the button press.
-
9 Apr 2009 12:58 PM
Jump to post Thread: json format by jlowe
- Replies
- 8
- Views
- 1,130
They're both valid syntax, but they're certainly not interchangeable.
In the array example, if you're not processing a list, then the array container serves no purpose.
In the second example... -
9 Apr 2009 10:41 AM
Jump to post Thread: json format by jlowe
- Replies
- 8
- Views
- 1,130
It's hard to tell exactly what you're doing because this JSON can't be decoded. The children array isn't closed.
-
9 Apr 2009 9:36 AM
- Replies
- 1
- Views
- 592
Made some progress using the following:
var nav = new Ext.KeyNav(this.getView().mainBody, {
"tab" : function(e){
this.getView().focusCell(maxrow, maxcol);
},
scope : this... -
9 Apr 2009 7:55 AM
- Replies
- 1
- Views
- 592
I have a non-editable grid with some toolbar buttons. When the user tabs into the grid-panel, they first tab through the toolbar buttons, and then into the rows of data. I'm trying to implement...
-
9 Apr 2009 7:38 AM
- Replies
- 2
- Views
- 643
Using JSP, I insert a javascript fragment into every page, like so:
<script type="text/javascript">
var Server = {
blankImageUrl: ${blankImageUrl},
sessionTimeoutUrl:... -
20 Jan 2009 7:22 AM
- Replies
- 4
- Views
- 1,145
Thanks mdm-adph. Setting the absolute height and width did it.
-
16 Jan 2009 10:46 AM
- Replies
- 4
- Views
- 1,145
No problem in FF. Haven't touched the CSS.
App.TermWindow = Ext.extend(Ext.Window, {
initComponent: function() {
Ext.apply(this, { -
16 Jan 2009 9:39 AM
- Replies
- 4
- Views
- 1,145
Window doesn't render properly in IE. See attached picture. Any ideas?
Thanks,
-Jeff -
14 Jan 2009 7:46 AM
- Replies
- 6
- Views
- 1,847
I also have FF 3.0.5.
The only difference I see, from Animal's picture, is that mine has the .NET CLR. -
13 Jan 2009 1:57 PM
- Replies
- 6
- Views
- 1,847
In FireFox, when rendering a disabled text field, the last letter does not display if the letter is a lowercase "L".
Is there something in my environment, or is this a bug?
-Jeff
... -
19 Sep 2008 10:41 AM
- Replies
- 0
- Views
- 496
Had to fix a bug in my code, where a combobox could not find a corresponding record in its underlying store, even though I know it's there.
Finally tracked down the problem and found that when... -
14 Jul 2008 5:41 AM
- Replies
- 413
- Views
- 162,671
I believe that would be consistent with the XHR object, which populates responseXml if the Content-Type specifies XML. No need for further overhead.
-
11 Jul 2008 10:06 AM
- Replies
- 413
- Views
- 162,671
Hi Doug,
I'm refactoring our application to handle many of the repetitive tasks closer to (or within) the framework. One of those repetitive tasks is the decoding of the responseText to JSON.
... -
30 Jun 2008 12:56 PM
- Replies
- 0
- Views
- 554
I have a Store configured with a JsonReader and HttpProxy. In response to load(), the server returns json that has the same structure as a form submit result, i.e. {success: true, data: [...]} or...
-
10 Jun 2008 11:24 AM
- Replies
- 6
- Views
- 1,077
I see a potential for conflict (i.e. things breaking) when we upgrade our version of Ext. In this case the handleMouseDown method is responsible for other scenarios besides the one that I'm...
-
10 Jun 2008 8:41 AM
- Replies
- 6
- Views
- 1,077
>> You simply need to override the RowSelectionModel which handles the selecting/de-selecting of rows when you CTRL+click something.
From looking at the RowSelectionModel source code, it appears... -
10 Jun 2008 8:20 AM
- Replies
- 6
- Views
- 1,077
>> depending on the end desired result, it may be easier just to check if any rows are selected when an action is attempted; eg clicking a button.
Yes, I often take that approach. However in this... -
9 Jun 2008 11:24 AM
- Replies
- 6
- Views
- 1,077
Is it possible to implement the behavior where once a row is selected, a single selection must be maintained. The scenario I'm trying to prohibit is where a user ctrl-clicks on a selected row,...
Results 1 to 25 of 29
