I have dataSource in KendoUI that is connected with on click event. I mean - after click ID of the element is passed to function, which - based on the id - chooses proper url for dataSource.

**PROBLEM:**

I checked and url is passed correctly, everything works fine, BUT data for each user doesn't change. So for example if I click on user with id 1, I get 1.json, but when I click on user with id 2 I also get data from 1.json. 

When I first click on user with id 2 I get 2.json and after I click on user with id 1 I get 2.json data. 

HOW I can refresh this data?

**EDIT:**

I forgot to add, that function getData is in kendo.observable object. I thought that it might not be necessary to tell and I wanted to keep it as simple as possible, but.. well, obviously it's not that simple. Actual code:

```
var myModel = kendo.observable({
     getData: function(myDiv,id) {
        mySource.transport.options.read.url = id + '.json';
        mySource.fetch(function(){
            var data = this.data();
            var tree = $('<ul></ul>');    
            $.each(data, function(i,object) {
                $('<li>').html('<a href="">'+object.task_name+'</a>').appendTo(tree);
            });       
            tree.appendTo(myDiv);
        });
    }
};

```

and `getData()` is binded to click on div event ( mobile app ).