JavaScript extjs remove duplicate value before storing it into a store extjs remove duplicate records from store,extjs remove duplicates from

I try to remove the duplicate value before storing it into a store. I want to store the same value in the store 1 time only. But it seems the following Ext.Array.unique line does not working. Could anyone please help me to correct this. Thank you

var input1store = new Ext.data.Store({
    fields: [{name: 'name'}],
    proxy: {
        type: 'ajax',
        url: 'www.requesturl.com?format=json&source1',
        reader: {
            type: 'json',
            root: 'xml.result'
        }
    },
    autoLoad: false,
    sorters: [{property: 'name', direction: 'asc'}],
    listeners:{
        load: function(rec){
            uniqueArray = Ext.Array.unique(rec.getRange());
        }
    }
});
Answer:1

So I have a header.. and an image. On tablet I want to be able to pinch and zoom into the image but i'm struggling. I've looked at other similar questions. But as I'm still learning, i'm not fully ...

So I have a header.. and an image. On tablet I want to be able to pinch and zoom into the image but i'm struggling. I've looked at other similar questions. But as I'm still learning, i'm not fully ...

  1. pinch zoom using hammer.js
  2. hammer.js pinch zoom
  3. pinch zoom hammerjs

Let's say I have something like this: <div ng-app="myApp"> <div ng-controller="myCtrl"> {{foo}} <button ng-click="bindToMe" /> </div> <div ng-...

Let's say I have something like this: <div ng-app="myApp"> <div ng-controller="myCtrl"> {{foo}} <button ng-click="bindToMe" /> </div> <div ng-...

  1. programmatically bind combobox c#
  2. programmatically bind datagridview c#
  3. programmatically bind visibility
  4. wpf programmatically bind property
  5. wpf programmatically bind dependency property
  6. objectdatasource programmatically bind
  7. wpf programmatically bind
  8. bind gridview column programmatically c#
  9. vue bind programmatically
  10. angular bind programmatically
  11. knockout data-bind programmatically
  12. wpf datagrid bind programmatically
  13. nsarraycontroller bind programmatically
  14. v-bind programmatically
  15. c# bind programmatically
  16. cocoa bind programmatically

I'm Very stuck in this case when working all day :(. please help me. I have website need using $http provider to call ColdFusion file from other domain. let's say this is link to cfm file : http://...

I'm Very stuck in this case when working all day :(. please help me. I have website need using $http provider to call ColdFusion file from other domain. let's say this is link to cfm file : http://...

How to break sequence of handlers of Promises/A? For example if we have sequence: method1().then(method2()) .then(method3(), errorHandler3()); and in method2() we decided to break ...

How to break sequence of handlers of Promises/A? For example if we have sequence: method1().then(method2()) .then(method3(), errorHandler3()); and in method2() we decided to break ...