Kevin Smith wrote:
> This great. Is there anyway to replace the data instead of append the 
> data?
I just added a method for clearing the data

    window.database.removeAllStatements();

Let me know if that helps.

David

>
> Kevin Smith
>
> David Huynh wrote:
>> Is your back-end server capable of sending just the additional data each 
>> time rather than the whole data set again? If so, then you can do 
>> something like what I did for this application:
>>
>> http://picker.mit.edu/
>>
>> Choose a particular department, say, "4 Architecture", and click "Browse 
>> Courses." That loads just the architecture courses. But then from the 
>> drop-down at the upper left corner you can add more courses from other 
>> departments. The code is in
>>
>> http://picker.mit.edu/browse.js
>>
>> Look at the 2 functions
>> onAddMoreSelectChange
>> loadURLs
>> The code would be simpler if you just need to load one URL.
>>
>> David
>>
>> Ray Johnson wrote:
>>   
>>> I’m using Exhibit to show information on calls currently happening on 
>>> our site. This is fairly real-time data with a log of a minute or so. 
>>> Currently a user can refresh the page to get new data which is kind of 
>>> expensive as the data set is good sized and that also forces all the 
>>> java script to get reloaded, etc.
>>>
>>> I’d like to be able to just reload the JSON data. Perhaps with a 
>>> refresh button or something. In looking through the docs, examples and 
>>> this mailing list I have yet to see anyone talk about this. Is this 
>>> possible? What would we need to do to make it work?
>>>
>>> Ray
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> General mailing list
>>> [email protected]
>>> http://simile.mit.edu/mailman/listinfo/general
>>>   
>>>     
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>>
>>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>   

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to