I have a question about best practices with the Module Design Pattern.  The code below is an example of the way that some of our Components are written (we use ExtJs but that shouldn't matter too much).  We build a lot of our components like this...
I've opened up an ExtJs project that I've not had my head in for some time, and this is baffling me.  I've an Ext.form.ComboBox that uses a remote JSON store to list users.  I use an XTemplate to format the users as listed in the drop dow...
I need to abort a EXT JS store load (which is a grid panel store using an ajax call).  I am using Ext JS 3.4  I have tried the following.  Ext.Ajax.abort(store.proxy.activeRequest); delete store.proxy.activeRequest;...
This is my code below. How can I scroll to bottom of textarea? It must be something like   Ext.getCmp('output').setScrollPosition(Ext.getCmp('output').getScrollHeight());   Here is my code for the textarea:  var myWin= new Ext.Window(...
I am trying to understand scope in the below scenario. When calling searchTerms, this under the scope:this refers to the searchTerms function rather than the panel itself. It seems to be different from what I observe from other examples. May I know w...
I am working on an extjs 3.1.1 application. Now I have a timefield that user select time from that and save this time but this timefield drop down list is very long and hard to find desired time. so I want to put separate drop down lists for hour and...
I'm trying to learn ExtJS and object-oriented JavaScript in general. I've seen people defining classes in custom namespaces in a couple of ways. What's the difference between these two methods?  Method 1  Ext.ns('myapp.cars'); (fu...
I am using Ext Js 3.4. I run into a problem when using myform.getForm.getValues()  emptytext is also sent in the request.  Below is the code snippets  myForm = new Ext.FormPanel({     id: 'myForm ',     items: [             {...
I am using a gridview which is binding data from datastore dynamically. I have two textbox to enter data into grid. On submit button click the textbox data I am adding to my datastore (no need to store in backend). Now I want to refresh my gridview w...
I have a problem with the Ext Date class seemingly returning the wrong timezone for a parsed date. Using the code below I create a date object for the 24th May, 1966 15:46 BST:  date = "1966-05-24T15:46:01+0100"; var pDate = Date.parseDate(da...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.