Search Type: Posts; User: harel

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. I can't seem to get a Ext.ux.TreePicker to hide the root node. I tried overriding the createPicker call but then fail to load the data into the tree drop down...
    Anyone ran into this before?
    Thanks
  2. Yes the example works fine for me...
  3. I have an Ext 3.4 grid with stateful:true, a stateId, and each column in the column model has an id.
    Yet when I resize columns I don't see any state cookie saved, and the column widths are not...
  4. Yes, I was using dynamic loading. With ext-all the error appears to go away (after I explicitly enabled Ext.Loader), though I was hoping to keep on using dynamic loading.
    Is there an issue with...
  5. The store is below. Note that its loading a fixed json file. The 'translate' call is to translate some keys fron the json to the right language based on selected locale.
    However, I did manage to...
  6. Thanks.
    I'm seeing this error in a few other places, but this is the one that the stack trace passed through one of my components. If I remove the 'callParent' call, the error goes though of course...
  7. I'm getting the following error/stacktrace after upgrading from 4.07 to 4.1 (Chrome).
    The error appears to originate (or pass through) from a component extending Ext.tree.Panel:


    Uncaught...
  8. For the sake of posterity and history, I'm adding the solution I used here.

    I added the following listener to the selection model:


    listeners: {
    selectionchange: function(sm) {
    ...
  9. I ended up using a message bus approach with an observable at the top level of my application used to channel messages from one component to another when those component don't have an ancestry...
  10. Yes, when I capture it like that from the model itself it works but now I need to figure out why is it not being caught by any other component.
  11. Yes but I want to capture the event on another component. The model/record instance is the one ultimately firing the event. Once fired I want to update another component.
  12. Hi ,
    I have a mixin which adds an event (bubbled) to a Model instance its mixed in to and fires it when a method is called. The firing bit works but no matter where I place my listener for that...
  13. Replies
    7
    Views
    1,081
    You can use the browser's local storage to store data for offline usage. You'll probably have to ensure all of the javascript files have loaded fully including the entire ext framework etc.
  14. Hi
    I'm trying to create models which are associated to other models via a 3rd connecting table.
    The structure is similar to:

    Contact table: id, name
    Company table: id, name
    Address table: id,...
  15. Instead of

    var UserId = UserId || '';

    use:


    var UserId = config.UserId || '';

    The argument UserId is part of your input config, not an argument by itself.
  16. It appears that moving the calls to Ext.create into overriden initComponent calls solved the problems and I assume its to do with the timing of files loaded and the way browsers cache them etc.
    So...
  17. Hi
    I'm having a weird problem working on a new (mvc) ExtJs 4 app.
    Many times, I'd be getting errors such as below, pointing to a line in one of my own component files which call up another...
  18. Excellent, that's perfect. I can see where my confusion started as well, which makes the transition to ext4 smoother now: I was fixated on initConfig that I ignored callParent.
    Thanks
    Harel
  19. I think you missed my point: I'm trying to dynamically create stores that send different url parameters via the proxy. Hence the use of constructor. Straight up stores as you described are not a...
  20. Hi,
    I'm migrating the following ext3 function which returns a store, to an ext4 object extending Store.

    From:


    getFieldSetStore: function(name, selectedValue) {
    return new...
  21. I augmented your include approach a little and came up with the following which works:


    Ext.Loader.setPath('Locales', './app/locales')
    Ext.namespace('MyApp'); // had to declare the add namespace...
  22. The problem with these approaches is that in the second option the MyApp namespace and application are not yet created. The same problem exists with including it as a separate script file.
    I am a...
  23. Hi there,
    I am using Ext4's MVC application model. In my Ext.application call I have a requires property which loads up a few js files (libs, generic utils etc).
    I am also loading one file which...
  24. Thanks @tryanDLS. I couldn't find a link to the online docs (I tried without the .1 which didn't work). I know the docs are in my download but I have use the online version out of habit.
  25. First I have to add a +1 on the tabs. I was always praising extjs api browser for its usability and I can't do it now.

    I'm still working on Ext 3.x apps - Why are you forcing me to view 4.0 docs?...
Results 1 to 25 of 45
Page 1 of 2 1 2