PDA

View Full Version : Truly Buffered Grid



ericlam
28 May 2009, 1:20 PM
The Buffered Grid example on the demo list (http://extjs.com/examples-dev/explorer.html#bufferedgrid) refers to buffering of the rendering i.e. you only render one page at the time.

We want a true Buffered Grid. What I mean by that is that since only one page is shown at a time, we would fetch one or 2 pages at a time and buffer them so that when the user scrolls, the data is readily available in memory and will display fast and the user will not notice the wait. We do not want to have to fetch all the data when loading the store since we often have more than 10,000 records that could potentially be shown on a grid.

Is there anything like this? If not, is it in the works?

sven
28 May 2009, 1:22 PM
There is a user extension:

http://www.extjs.com/forum/showthread.php?t=54582

Kango_V
28 May 2009, 3:17 PM
It seems that, acording to this thread (http://www.extjs.com/forum/showthread.php?p=268874#post268874), that an official ActiveGrid GXT implementation is planned after 2.0 is released.

This would be great. This linked in with Hibernate Search is what we are waiting to do. Gonna be awesome. :D

ericlam
29 May 2009, 6:30 AM
What's Hibernate Search?

Kango_V
2 Jun 2009, 12:04 PM
Hibernate Search uses Apache Lucene to Index your Hibernate Beans, when you save them. You then create Queries using standard Hibernate Query language or the Criteria API and Hib Search looks into Lucene and not the database. It's pretty seamless.

Check it out, it's great.