SlickGrid icon indicating copy to clipboard operation
SlickGrid copied to clipboard

Use of unlimited-rows implementation with dataview

Open rgwest61 opened this issue 9 years ago • 2 comments

I am brand new to this site so I apologize if my post is out of line, please correct me where I went wrong and I will make sure it does not happen again.

First - I am not able to find the indicated branch http://github.com/mleibman/SlickGrid/tree/unlimited-rows, I assume such related implementation elements have been merged into the latest master version?

My project currently uses a dataview object that is populated with data from a JSON file. I am trying to figure out how to use the unlimited row implementation with a dataview. First question that needs to be asked is will this implementation work with a dataview? If so, next question is would I only populate the dataview items with associated JSON file data for the rows that should be displayed within the SlickGrid. My current design populates the dataview items with all JSON file data.

rgwest61 avatar Nov 10 '16 18:11 rgwest61

firstly, i suggest using my repo. This repo has not been maintained or responded to for around 2 years.

I assume you're talking about a .NET DataView. SlickGrid is a purely client-side grid. It expects its data in the form of an object, and it;s usual to use Json.NET or similar to take data from the server and create a JSON version of it that can be used by javascript as a datasource. Then you've got to have some way (usually AJAX) of updating the server data. The final analysis is, you need a framework to do all this stuff. There are quite a few around. Breeze.js is a good one.

6pac avatar Nov 10 '16 23:11 6pac

and yes, that branch was merged a long time ago

6pac avatar Nov 11 '16 00:11 6pac