Sridhar,

The grid itself is fairly data-agnostic.  It reads the data through
the JavaScript array interface, but what drives the datasource is
completely arbitrary.  The examples on the project home page show
several ways of feeding the data to the grid.  Examples #1-#3 load the
data directly in a client-side JavaScript array - you can adapt that
to load the missing parts from the server through ajax.  I will add
some examples of doing that soon, but it is pretty straightforward.
The MUCH more interesting way of feeding the data to the grid is
through a Model or, in the case of example #4 a filtered DataView.
That allows you to implement search, filter, sort, expand/collapse,
etc. and have all of that happen on the client and real-time.  It does
have limitations on the amount of the data since the browser has to do
all the work for sorting, filtering and figuring out the differences
between the two consecutive states.  Those limitations will really
depend on your data, but just to give you an example, on my laptop,
example #4 is still quite usable with 50'000 items after yesterday's
round of optimizations :)

The next logical step is to write a disconnected, AJAX-enabled server-
driven DataView for working with extremely large datasets, and that is
what I will likely have to tackle soon (btw, this is where some help
would be appreciated!).  The implementation would be pretty similar,
but most of the operations would get moved to the server, and the data
will be lazy-loaded.




On Mar 19, 9:02 pm, Sridhar <dsridha...@gmail.com> wrote:
> Hi,
>
>    I am not sure how you are loading the data from server side and how
> you are updating the data. do you have any examples? The grid looks
> really nice. It is as fast as it can be. I am really impressed with
> speed. I am still learning jquery. I wish I could have contributed for
> this. By the way, I am trying to use this in asp.net 2.0
>
> Thanks,
> sridhar.
>
> On Mar 18, 5:25 pm, Tin <michael.leib...@gmail.com> wrote:
>
>
>
> > Updated the last example (http://slickgrid.googlecode.com/svn/trunk/
> > example4-model.html) with column sorting (click on column headers).
> > Some grid code refactoring plus multiple bug fixes and performance
> > enhancements (try the slider!).

Reply via email to