mleibman / SlickGrid

A lightning fast JavaScript grid/spreadsheet
http://wiki.github.com/mleibman/SlickGrid
MIT License
6.81k stars 1.98k forks source link

Use of unlimited-rows implementation with dataview #1131

Open rgwest61 opened 7 years ago

rgwest61 commented 7 years ago

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.

6pac commented 7 years ago

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 commented 7 years ago

and yes, that branch was merged a long time ago