How to prevent caching in firfox

I added grid for retrieving data from db, its working find in IE and Chrome but doesn’t work in Firefox, when I clear Firefox cache then its show the complete data-set.


Please, try to add some unique parameters in your data url.
For example:
myGrid.load(“grid_data.xml?un=”+Date.parse(new Date()));

Thanks a lot for your quick response. I already did this way I was thinking if there were some some builtin function for that as well like you have for IE.

Thanks again.

Since the dhtmlx 4.0.1. version the similar solution was included to the innier code of the dhtmlx-components.
It is configurable. Here is the tutorial:

Thanks that’s what I was looking for… Thumps up