hi yigit,
it would be very helpful if u can send the code file of your live datagrid.
thanx in advance
ravi
Yiðit Boyar <[EMAIL PROTECTED]> wrote:
i think that the result for your situation is to load what you
need. :: a live datagrid .. and developing it for a special case is so easy...
i was working on a dataGrid component; which loads just the needed elements; it
gets a bindable count value;
and gives the bound variables (that are shown) w.r.t. the selected property of
each item. e.g. you have 100000 people which has id's;
the datagrid provides you which are show (for exm id=120-132) and you provide
it how many total items (100000). your dataProvider
request just loads 120-132 items and; the datagrid component fills the others
with loading label(or anything you want) whenever the datagrid
is scrolled; it triggers your dataProvider request or whatever ...
an ajax version : http://openrico.org/rico/livegrid.page
i was going to release the component but because of the exams(damm i'm still a
student) and works; i could not finalize it... i will, as soon as possible...
since you have a live datagrid; you have to loop through what is show/loaded so
it will not cost anything...
i wish i understood your problem and wish my solution helps...
and i you would like; i can send the unstable version of my live datagrid; it
works 100% but no help file :) and has a very confusing code.(needless
variables)
yigit...
----- Original Message ----
From: bsdensmore <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, January 4, 2007 7:44:21 PM
Subject: [flexcoders] Database insert with 100's of rows
The application I'm currently working on uses a datagrid that can
sometimes contain 100's of rows. All of these rows need to be inserted
or updated in our database when editing.
I'm finding that if there is a large amount of data, doing the inserts
can take forever and Flex eventually times out.
Looping over each row and calling the function over each iteration
seems to take a while when there are a lot of rows.
I'm using Remoting with ColdFusion.
Is there a better way to handle this?
Thanks,
Ben
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Ravi Mishra,
Software Engineer,
Keane India Ltd., Gurgaon
Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download
Now! http://messenger.yahoo.com/download.php