Of course 1200 rows x 30+ columns x 1kb data per cell would be big... lol. You may just have to resort to paging your data (although I'm assuming this option has already been discussed and for whatever reason there is a requirement that all 1200+ rows be served at a time).
It's just hard to say what your problem is without seeing something. I mean, it could even be your machine or network for all we know.
Anyway, sorry I have nothing more profound to say than that...
On 9/6/06, ringerce <[EMAIL PROTECTED]> wrote:
Well, the problem with that is that the application that I'm building
is mean't for internal use only and it would be against my companies
policies to make it public. I'm really not doing anything outside of
the box here. My page does return a lot of html and I think the browser
just runs out of memory. It seems to crash when the DOM parser comes
into play.
Here is the function I wrote though to update my container. Maybe
you'll see something unusual:
function ajaxUpdater(mForm,mUrl,mMethod,outputObj) {
var params = '';
if(mForm) {
params=customSerializer(mForm)+'&time='+currentTime();
} else { params = '?time=' + currentTime(); }
var ajax = new Ajax.Updater({
success: outputObj},mUrl,{
evalScripts:true, method: mMethod, parameters: params,
onFailure: function(response) {
reportError( response.responseText);
}
});
}
------------------------------------------------------------------------------------------
and I call it like so
------------------------------------------------------------------------------------------
ajaxUpdater('','viewer.asp','get','contentPanel');
------------------------------------------------------------------------------------------
Pretty simple. Lemme know if you spot anything unusual.
Athena Group, Inc.
Inquire: 1-888-919-8700 x2903
Blog: http://www.someElement.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs
-~----------~----~----~----~------~----~------~--~---
- [Rails-spinoffs] Re: Problems with large amounts of data using ... ringerce
- [Rails-spinoffs] Re: Problems with large amounts of data u... Ryan Gahl
- [Rails-spinoffs] Re: Problems with large amounts of data u... Sam Foster
