Search Type: Posts; User: jvandemerwe

Page 1 of 4 1 2 3 4

Search: Search took 0.02 seconds.

  1. See this article I wrote last year on how to post an array with Ext.Ajax to the server. http://www.enovision.net/snippets/iterate-extjs-store-add-result-json-ext-ajax-request/
  2. Small remark to "selected.items.raw.Archivo" versus "item.get("Archivo"). With the first one you handpick the data directly from the object and with the "item.get" you are using a function which is...
  3. Now I see what you mean. And the URL's that you want to open are they already existing (that means, can they be opened also by putting the URL in the browser)?

    You can do this with Ajax. What you...
  4. You're right, I didn't even tried that.
  5. ovf
  6. That's what I said :-?.
  7. What exactly are you trying to achieve?

    And remember if you change the fiddle from ExtJS 4 to ExtJS 5, change the Ext.appyIf in the grid to Ext.apply.

    How exactly should the links be opened in...
  8. After the store is loaded (callback) save the index of the record that needs to get the focus in the object and use this on the expand event trigger. See the response of @renato01 how to do that with...
  9. What you call 'identifier' is in fact the namespace. That it the folder path where Ext JS is looking for when it searches the source for the class. And that namespace has to be unique. So you can't...
  10. Sometimes the offered idea is the best idea. How many helpers are we talking about? > 10 or > 100?
  11. The xTemplate from the the former reply is very nice, this one is by using the convert setting of a calculated field in a model.

    o6l
  12. Don't worry it will work. Just look carefully add the grid in the Fiddle, that contains all the tricks.
  13. Replies
    14
    Views
    537
    I have a working model in Sencha Fiddle. I have created a json file that I request in the Ajax call and a singleton with a value to be set.

    I have added a panel that will be updated on...
  14. Is it really neccessary to talk about if Dojo is alive or not on this forum. Maybe you should checkout the Dojo website if it is still alive or not. I see that the work on version 2 has begun, but I...
  15. Replies
    14
    Views
    537
    I have another question regarding the 'onLoginSuccess' function. I see that you are using 'sessionResponse' as third parameter. Where does this come from, it is not mentioned in the documentation....
  16. Replies
    14
    Views
    537
    But if you put an initial value in the 'user' of the singleton, let's say:

    user: 'Clint Eastwood'

    and you set a breakpoint on the debugger on the Globals.setUser, and in the console you put at...
  17. Replies
    14
    Views
    537
    If you put a break in the debugger (Google Chrome f.e.) on the Globals.setUser and you put just Globals in the console, does it already exist, or does it return a 'undefined'?
  18. Replies
    14
    Views
    537
    Did you make sure that the singleton Globals is already created and existing in the component where you have the login. Can you post here the component where the login ajax request is included?
    ...
  19. https://fiddle.sencha.com/#fiddle/o1v

    Without a delay.



    Ext.application({
    name: 'Fiddle',
  20. Replies
    14
    Views
    537
    Ext.define('MyApp.util.Globals', {

    singleton: true,
    alternateClassName: ['Globals'],

    config: {
    user : 'SomeNiceValue',
    modules: 'AgreatModuleHere'
    },
  21. When adding additional js to the fiddle, the application will not run if you have a closing semi-colon on the additional js.

    Wrong (returns an error - sample: UrlGrid.js):

    52592

    Right:
    ...
  22. https://fiddle.sencha.com/#fiddle/o1l

    But you have to remember that when you do this for the first time your browser might only open one tab. The browser might prevent opening more than one tab....
  23. NO! Not like that, but like this:



    Ext.define('MyApp.helpers',
    {
    singleton : true
    , foo : function (a,b)
    {
    return a + b;
  24. Ext.define('common.singleton.Icons', {
    singleton: true,
    alternateClassName: ['Icons', 'Icon'],


    constructor: function (config) {
    this.initConfig(config);
    },
  25. This is not about not allowing to examine. It's more like calling the plummer who tells you to bring the building to him to see if he can fix it.
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4