-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[docs][data grid] Revise the Data Grid getting started docs #15757
Conversation
Signed-off-by: Sycamore <[email protected]>
|
||
```tsx | ||
// Pro and Premium users: add `-pro` or `-premium` suffix to package name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still on the fence about which is preferable:
- list all three imports? (annoying for copy+paste)
- only include Community version? (could be unclear or just a minor annoyance for paid users)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not for this PR, but I was wondering if we could improve the overall experience of the Data Grid docs by having a plan switcher. Something like this, but it would apply to all of the snippets (and maybe demos) to only show the package that the user is interested in:
Screen.Recording.2025-01-16.at.14.29.08.mov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that would be nice to have!
WIP
Closes #15719
Thorough revision of the Data Grid Getting Started docs and a few other pages where content has been rearranged:
renderCell()
,valueGetter()
, andvalueFormatter()