Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8177669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T23:34:16+00:00 2026-06-06T23:34:16+00:00

I use ExtJs 4.1 and DeftJS. I use a grid with data from a

  • 0

I use ExtJs 4.1 and DeftJS. I use a grid with data from a store in a window. The data from the store should be reloaded when opening the window, and when closing it should be cleared.

However if even If I refresh the browser, and also after restarting the browser, the same old data is still in the grid. Hows that possible?

How to clear the store?

My store looks like this:

   Ext.define( 'XXX.plugins.monitor.store.GridLogfiles', {
  extend  : 'Ext.data.Store',
  mixins: [ 
     'Deft.mixin.Injectable'
  ],

  destroy: function() {
     return this.callParent( arguments );
  },

  // model: Deft.Injector.resolve('modelGridLogfiles'),
  model: 'XXX.plugins.monitor.model.GridLogfiles',

  proxy   : {
     type       : 'ajax',
     url        : 'XXX:8090/devel/phi/dev/04-presentation/von_kay/http-api/HEAD/index.php',
     extraParams: {
        user      : 'test',
        pass      : 'test',
        vers      : 'extjs.json',
        module    : 'monitor',
        func      : 'getLogfiles'
     },
     reader     : {
        type: 'json',
          root: 'list',
//            root: 'list.getLogFiles',
//            root: 'getLogfiles',
        successProperty:false
     } 
  }
 , autoLoad: true
} );

My model like this:

   Ext.define( 'XXX.plugins.monitor.model.GridLogfiles', {
  extend: 'Ext.data.Model',
  mixins: [ 
     'Deft.mixin.Injectable', 
  ],

  destroy: function() {
     return this.callParent( arguments ); 
  },

  fields: [ {name: 'key'}, {name: 'value'} ] 
  // fields: [ { name : 'value' } ]
} );

In my window I bind the store with:

,items: [{
     xtype: 'grid',
     itemId: 'gridlogfiles',
     store: Deft.Injector.resolve('storeGridLogfiles'),
...
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T23:34:17+00:00Added an answer on June 6, 2026 at 11:34 pm

    Problem fixed, was a mistake on root in my store.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use Extjs 4. I have grid within row expander with data from the
In my ExtJS application I use EditorGridPanel to show data from server. var applicationsGrid
I use ExtJs 4.1 and DeftJs. When using multiple instances of the same views
im trying to use direct store in Extjs heres the code to my store
I have a problem. I use extjs grid . This grid will be refreshed
i'm new to extjs 4. I have to use same from in different events
With ExtJS 3.x, I was able to use the fields property of a Store,
I have use wizard window in extjs application. It open at center of window
I'd like to use the Ext.Element object interface from ExtJS to traverse an XML
I have a ExtJS and jquery generated table with data fetched from database and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.