Sample usages for developers #251
Replies: 2 comments 6 replies
-
There are quite a few examples in the storybook codebase and storybook itself has a docs section which goes through basic use cases. In 4.0.0 the DataEditorContainer is gone all together, capturing the visible region can be done by responding to the onVisibleRegionChanged callback. It doesn't give out the scrolltop exactly, and it doesn't do that because in the event of scroll region compression (more content than the browser allows in scrolling regions) the two may not agree. What do you need the scrollTop for? |
Beta Was this translation helpful? Give feedback.
-
Have you looked into this series? https://glideapps.github.io/glide-data-grid/?path=/story/glide-data-grid-docs--getting-started |
Beta Was this translation helpful? Give feedback.
-
Hello,
Could the code for grid.glideapps.com be available for developers as a reference? How about sample usages in Storybook?
Is scrolling event from
DataEditorContainer
the preferred way to capture Scroll Top position or there is a better way?Thanks!
Beta Was this translation helpful? Give feedback.
All reactions