Search Type: Posts; User: pdesmet

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. I found a solution

    So what you do is extend the TreeStore
    and you override the function onProxyLoad and there you fire the event load


    onProxyLoad: function(operation) {
    ...
  2. The load event is not fired also the listchange event does not fire.
    Still some core bugs ...
  3. Replies
    8
    Views
    1,586
    yeah that is true but I also encountered the same problem when trying the MVC example and when I enabled the loader then it worked, otherwise the dynamically loading of the, controllers, views,...
  4. Replies
    8
    Views
    1,586
    you have to enable your loader
    so put this in your app.js file

    Ext.Loader.setConfig({enabled:true});


    This part is missing in the example.
  5. As I told you, your records have to be dirty.
  6. What you can do is after the load of the records, select the first row:

    var sm = grid.getSelectionModel(); sm.select(0);
    And then you don't need your code anymore.
  7. REQUIRED INFORMATION


    Ext version tested:

    Ext 4.0.2a


    Browser versions tested against:
  8. Replies
    2
    Views
    1,689
    REQUIRED INFORMATION


    Ext version tested:

    Ext 4.0.2a


    Browser versions tested against:
  9. I know you don't want to change your data but if I read your code you wrote I see that you watch your keyevent for key.up and key.down.
    So I assume you want to select the next row when you press the...
  10. I don't understand why you use the code above because the grid does this itself.
  11. no problem.

    for thanks: you can add something to my reputation
  12. Then use it like this: you have to call your parent


    Ext.define('App.store.FieldSets', {
    extend: 'Ext.data.Store',
    fields: ['KEY'],
    autoLoad:true,

    constructor:...
  13. Your store should look like this:



    Ext.define('AM.store.Users', {
    extend: 'Ext.data.Store',
    model: 'AM.model.User',
    autoLoad: true,

    proxy: {
  14. var sm = grid.getSelectionModel();
    store.remove(sm.getSelection());
    sm.select(0);
  15. If you are new to Ext JS the best thing to do is to read some tutorials: http://www.sencha.com/learn/extjs/?4x and view some examples: http://www.sencha.com/products/extjs/examples/.
    Try to find an...
  16. if you want an application that fills your entire browser window, you use the viewport.
    Here you can add everything you want, a tabpanel with another panel, ...
  17. I think the best thing to do is to refresh them manually.
  18. Replies
    2
    Views
    907
    Please explain some more what you want but first check
    the documentation http://docs.sencha.com/extjs/
    and the examples: http://dev.sencha.com/deploy/ext-4.0.2a/examples/
  19. Replies
    3
    Views
    1,238
    JSON works fine with single quotes! So that hasn't fixed the problem, probably you also changed something else.
  20. Replies
    5
    Views
    1,299
    My previous code is to create/set a Cookie.
    To retrieve the data:


    var cookiedata = Ext.util.Cookies.get('cookiename');


    You can find the documentation here:...
  21. Replies
    1
    Views
    452
    I made an extention of Array for Dates, you can find more here: http://www.sencha.com/forum/showthread.php?139822-Ext.Array.Date&p=623675

    to use:


    var array = [new Date('Tue Jun 21 2011...
  22. Replies
    0
    Views
    1,022
    I made an extension on Ext.Array for Dates.
    An indexOf and a unique function.

    An example:


    var array = [new Date('Tue Jun 21 2011 16:00:58 GMT-0700 (Pacific Daylight Time)'),
    ...
  23. Replies
    5
    Views
    1,299
    With the Cookies class: http://docs.sencha.com/ext-js/4-0/#/api/Ext.util.Cookies-method-set



    Ext.util.Cookies.set('cookiename', 'cookievalue', new Date(new...
  24. Nice to see this became a bug, it was just planning to report this bug. :)
  25. That is because the store doesn't add an index to it.
    If you look at it in firebug, in your console, you will see the records but you will see that the added row has no index.
    Maybe this is a bug...
Results 1 to 25 of 45
Page 1 of 2 1 2