PDA

View Full Version : Slow Slow Grid with Json



psmacarov
4 Feb 2010, 11:26 PM
I receive json with 10 000 - 20 000 records..and i wait a lot of time while grid show me that records, may be i do something wrong, i try to use paging, but when i understood how it's work i prefered don't use it, my users must have ability 2 print all data, not 100 or 1000 records by one time

Please tell me what the problem, i think it;s not so hard 2 render 10 000 records :-?

5 Feb 2010, 5:12 AM
I don't understand why users would want to be bombarded with that much data. It's really wasteful for both the front *and* back end to shuttle that around. Try using the "Buffered grid view" in the examples.

httpdotcom
5 Feb 2010, 6:28 AM
Being able to print "all records" is not predicated by displaying "all records". Just requires more work on the developer's part (pass the query around, with the limit clause for pagination, without the limit clause for printing, in a session of some sort).

Or like Jay says, change the way user's view the app.

eds2103
29 Jul 2011, 11:17 AM
I think his English is just not great and by "print" he meant "render".

gustavo21
29 Jul 2011, 1:03 PM
Did you execute the sql query in the server? How long it takes?