paradox
paradox

Reputation: 71

SlickGrid RemoteModel vs. Dataview Model

We're currently using the slick.remotemodel.js model implementation of SlickGrid for its remote Ajax loading functionality. With this example the only filtering provided is a simple Search element. What we're looking to accomplish is a much more robust filtering method of each column, such as what is used in this example: http://mleibman.github.com/SlickGrid/examples/example-header-row.html

Is there a way to easily combine the features of the Dataview model with the RemoteModel? Is it merely a matter of combining the functions of Dataview into the RemoteModel code, or is there more of a fundamental overlap in the functionality of each?

I was able to find the following discussion - which seems to be more of a workaround rather than an integrated solution: Slickgrid Filtering without Dataview

Maybe I am just over thinking this, any advice would be greatly appreciated.

Upvotes: 6

Views: 3493

Answers (1)

Tin
Tin

Reputation: 9082

DataView does all of its sorting/grouping/filtering/etc. on the client since it has access to all of the data. If you're doing it on the server, you'll have to implement all that in your server-side data provider. There's no prescribed way of doing this since everybody's backend and needs are different.

Upvotes: 1

Related Questions