Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[row model] lazy load child rows in groups #566

Closed
scotthovestadt opened this issue Nov 13, 2015 · 12 comments
Closed

[row model] lazy load child rows in groups #566

scotthovestadt opened this issue Nov 13, 2015 · 12 comments

Comments

@scotthovestadt
Copy link
Contributor

The heavy lifting would of course fall on the data source, but implementing hooks for this would make it possible to implement.

@ceolter
Copy link
Contributor

ceolter commented Nov 13, 2015

I think you are looking more for a complete end-to-end reporting application rather than a gui grid???!!! Not sure this request fits in what I was aiming for. Any examples or further explanation of what you mean??

@scotthovestadt
Copy link
Contributor Author

Essentially, I want row grouping with a remote data source. Obviously the grid can't do the grouping for me because it won't have all the data due to infinite scrolling. Here is my need:

  • Enable mode so all rows passed from remote datasource are considered top-level "groups"
  • When a group is expanded, make a second call to remote datasource to fetch rows in group and render them

I actually have a working implementation of this, but it's a bit hacky right now. I'd prefer to have it supported in the grid.

Would you accept a PR?

@ceolter
Copy link
Contributor

ceolter commented Nov 16, 2015

ah right, i got mixed up with what pivot meant. so basically you want lazy loading of the child groups. yes i'll get that in at some point. i'll rename this issue.

re PR, i probably won't accept a PR on this, as it's core to the workings of the grid, so i'll prob have my own ideas on how this should be done with regards the rest of the grid.

@ceolter ceolter changed the title Feature request: Pivot with remote data source lazy load child rows in groups Nov 16, 2015
@ildarnm
Copy link

ildarnm commented Nov 16, 2015

+1

@pengx17
Copy link

pengx17 commented Feb 12, 2016

+1 Really need it in my project.

@tiberiuzuld
Copy link

+1

3 similar comments
@aznotins
Copy link

aznotins commented May 3, 2016

+1

@xtreemrage
Copy link

+1

@squarewave24
Copy link

+1

@ceolter ceolter changed the title lazy load child rows in groups [row model] lazy load child rows in groups Jan 19, 2017
@ceolter
Copy link
Contributor

ceolter commented Jan 23, 2017

@ceolter
Copy link
Contributor

ceolter commented Jun 7, 2017

this is now done, part of the Enterprise Row Model

@ceolter ceolter closed this as completed Jun 7, 2017
@tomasreichmann
Copy link

Is it possible to turn this off and get the page with groups already expanded using groupDefaultExpanded: -1 ? This setting doesn't seem to do anything with the server-side model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants