Search Type: Posts; User: mysticav

Page 1 of 5 1 2 3 4

Search: Search took 0.09 seconds.

  1. I overrode Ext.data.proxy.Server

    So far it works for me. I'm not sure if there's any implication. It would be great if we could decide how we want the filters to be sent, since the default ExtJS...
  2. https://www.sencha.com/forum/showthread.php?304881-Grid-does-not-show-updated-data-after-calling-load()-or-reload()
  3. Replies
    1
    Views
    2
    I'm trying this:


    Ext.define('App.ux.form.field.ComboBox', {
    extend: 'Ext.form.field.ComboBox',
    alias: 'widget.ux.combo',
    msgTarget: 'side',
    afterLabelTextTpl: new...
  4. Thanks.

    I'll keep an eye on it.
  5. Any workaround? This kind of basic functionality. It it resolved in ExtJS 6?
  6. Hi,

    I'm using Ext 5.1

    I have a grid that shows 10 records. If I change data of those records by other means in the backend, and then I reload that grid. it keeps showing me the old data, which...
  7. Did anybody figure out this solution ?

    I also would like to send plain query parameters.

    By the way, why is this post here, instead of ExtJS 4 Q&A ?
  8. Found the solution. I search plugin was overriding the encodeFilters function.
  9. Base Model:


    Ext.define("App.model.Base", {
    extend: "Ext.data.Model",
    schema: {
    namespace: 'App.model',
    proxy: {
    type: 'rest',
    actionMethods:...
  10. Hi,

    I have a remote store. From the ViewController I'm trying to apply a filter to that store.

    this.getStore('users').filter('company',1234);

    The request to server is sent like this:
    ...
  11. Please go here:
    https://www.sencha.com/forum/showthread.php?302679-applying-filter-sends-always-query-property-instead-of-the-actual-property.&p=1106442#post1106442
  12. Cool,

    Thanks. This is what I did:


    store.remove(rec);
    store.sync({
    callback: function(batch, options){

    if(batch.exception){
  13. Hi,

    I'm using Rest Proxy. When I delete a model with erase() it is removed from store whether it is successfully delete it on the server or not.

    How can I prevent that ? I need to keep the...
  14. HI,

    Let say I want to edit a user model. I change properties, and then call save.

    The request goes like this:



    PUT
    http://localhost/api/user/324232-d268-11e4-b9d6-232sdw2432
  15. Thanks.
  16. Replies
    6
    Views
    727
    Here is the solution to dynamically handle the rootProperty content for collections or single records:

    rootProperty: function(raw) {
    return raw._embedded ?...
  17. Replies
    6
    Views
    727
    What about loading a model directly:


    App.model.User.load('xxxxxxxxxxxxxxxxx', {
    callback: function(model) {

    }
    });

    In this case, according to HAL standards, I won't get a...
  18. Hi,

    Trying to load a model via REST, but the id I provide is not sent. Instead, the phantom generated value is sent: "User-1"


    var user = Ext.create('App.model.User');
    ...
  19. Found it (assuming that "currentRec" is defined in the ViewController)

    bind: {
    store: '{groups}',
    value: '{currentRec.groupId}'
    }

    bind.selection is not required.
  20. Hi,

    I want to update a property of a model when a combo record is selected. In this case, a User belongs to a Group, so when I select a group from the combo, I want to assign that value to...
  21. Thanks.
  22. Hi,

    Let say I have this class:


    Ext.define('App.view.PersonGrid', {
    extend: 'App.ux.grid.Panel',
    xtype: 'people-grid',
    bind: '{people}',
    reference: 'person-grid',
  23. Base Class:


    Ext.define('App.ux.window.Window', {
    extend: 'Ext.window.Window',
    listeners: {
    close: 'onCloseWindow' // #1
    },
    onEsc: function(){
    ...
  24. Thanks for the info. it is very helpful.
  25. Finally I found the solution (thanks to The0s).

    I added "session: true" to the store definition in my UserModel Class:


    ...,
    stores: {
    users: {
    model: 'App.model.User',...
Results 1 to 25 of 120
Page 1 of 5 1 2 3 4