Search Type: Posts; User: chamacs

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. The problem is because you are calling the controller.init() function multiple time. Each call is duplicating the event listeners, thus causing the problem you are seeing.

    Controllers must only...
  2. Listen to the plug-in's 'beforedrop' event to do the evaluation. If the 'test' fails return false from the event to stop it. See the API docs for more info on the event.
  3. I believe that the above class must, at a minimum, extend Ext.Base.
  4. Replies
    8
    Views
    205
    Another problem is that you cannot have includes for more than one library instance. The sample as both the ext-dev.js and the bootstrap.js. only include one or the other or a different reference. ...
  5. Replies
    8
    Views
    205
    The original problem is because the Ext code is running before the Ext library is completely loaded.
    Ext.syncRequire is not needed.

    you need to put the code in the an app (or Ext.onReady() ). ...
  6. I would say that the AJAX request is tied to the Window instance. The default behavior of window.close() is to destroy the window instance, which in turn is killing the AJAX request. Set the...
  7. Only a single extjs app can run in a browser page load. To call a different app, you need to call the URI that will load the second page. Something like:

    ...
  8. The 'warning message' is because that specific class definition had not been loaded from the server up front. You really do want to load all class definitions upfront. For performance in a...
  9. Using MVC, all event handling should be in a controller. If you defined your viewport (with the toolbar) in the Application class, you can have a 'ViewportController' that listens to events of the...
  10. The shortcuts are listed at the top of the API for the Ext.toolbar.Toolbar class.
  11. It might be. Try defining the reader/writer in the proxy's constructor.
  12. Replies
    1
    Views
    75
    I used your example and it worked just fine. The accordion layout is designed so one (and only one) panel is always expanded. Clicking on the first panel header will collapse it and expand the next...
  13. First, I'm using ExtJS 4.1.1:

    The way I handled this was to create a singleton class for monitoring the Connection class. The processing happens before it tries to parse as JSON. Since for me,...
  14. The difference in the two examples is not how you are loading it. It is that one is using an <iframe> and the other is not. An <iframe> is like its own window and thus is not affected by the ExtJS...
  15. Where is your proxy defined? This looks like the Proxy's Reader is shared between the two stores, where the reader is only able to 'read' based on one of the model classes. The only attribute that...
  16. The difference in the last post and the original. The menu is added to a button on the toolbar. This allows the menu to 'drop down' from the button.

    Can a menu by itself even be added to a...
  17. That is a shortcut notation for a Ext.toolbar.Fill component in a Toolbar.
  18. In ExtJS 4.x there is a Ext.FocusManager that can be used to handle keyboard navigation.

    Is this what you're looking for?
  19. Based on my understanding:
    This appears to be the only way to do this because of the nature of the View class. To get the <div> in you template to line up side by side, you're using CSS, which...
  20. I updated the above (removed layout and corrected the widths) so as to produce something like:

    42777
  21. One option to get the effect you want is to dynamically calculate the width of the view (you already know the # of columns you want and each column should have a set width) and put the view in a...
  22. Replies
    1
    Views
    99
    Looks like a problem with your layout configuration. What does the code look like for this example?
  23. The Ext.view.View uses an XTemplate to layout the content. What does your template looks like?
  24. Here is a link to a very good article on how to style grid row/columns/cells.

    http://skirtlesden.com/articles/styling-extjs-grid-cells
  25. I know this is an older thread, but did you get an answer?

    If you go down the route of multiple files for dev/maintenance, then in your build process minify all the JS files into one file for use...
Results 1 to 25 of 42
Page 1 of 2 1 2