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

Lazy load groups when not using the built in remote data feature #147

Open
ckosmowski opened this issue Oct 23, 2014 · 2 comments
Open

Lazy load groups when not using the built in remote data feature #147

ckosmowski opened this issue Oct 23, 2014 · 2 comments

Comments

@ckosmowski
Copy link
Collaborator

I noticed that with the remoteData feature it is possible to fetch the group structure via fetchGroups without fetching the contents of the groups. These groups are then displayed and its contents are lazy-loaded when i click the groups.

Would it be possible to have this feature when NOT using the remote data feature? Like providing the information needed via setGrouping(). And than executing a callback that will fill the groups?

I'm asking because the way we get data from our servers is totally incompatible with remote feature of doby-grid so we need to handle all the remote things ourselfs.

Short version of what i'm looking for:

  • Table displays empty groups that i defined before
  • Clicking on a group the entries are loaded from a callback that does whatever it needs to to get the entries belonging to this group
@ckosmowski
Copy link
Collaborator Author

Is this feature on the roadmap already, or do you have any hints for me, how i could possibly workaround this?

@EvHaus
Copy link
Owner

EvHaus commented Jan 29, 2015

I can't think of any workarounds as the loading of data is quite tightly tied with Doby Grid's rendering methods. This is a feature that will require some restructuring of the internal methods. It's not on the roadmap at the moment.

@EvHaus EvHaus changed the title Layz load groups when not using the built in remote data feature Lazy load groups when not using the built in remote data feature Jan 29, 2015
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

2 participants