glide-data-grid
glide-data-grid copied to clipboard
any real example of grid connected to api rest to show 1M results or directyl to sql db?
Hi theres any real example or tutorial on how connect datagrid to show data from api rest or even directly to sql? thank you
The glide-data-grid-source package has an example of a data source which asynchronously fetches paginated data. Look for the file use-async-data-source
Have sample code? Sorry im new on this
I will write one up shortly. Been on my todo list anyway.
https://github.com/glideapps/glide-data-grid/blob/e79e8983cc2e297206ee5185441ca4edd1dcba47/packages/core/src/docs/examples/server-side-data.stories.tsx#L160-L163
is a good example. I've used it myself to load data asynchronously from a web-worker.