-
Notifications
You must be signed in to change notification settings - Fork 840
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(EuiDataGrid): fix disabled draggable columns examples #8229
Docs(EuiDataGrid): fix disabled draggable columns examples #8229
Conversation
72bff84
to
cff1f95
Compare
To reorder columns directly instead of via the actions menu popover, you can enable draggable EuiDataGrid header columns via the `columnVisibility.canDragAndDropColumns` prop. | ||
|
||
This will allow you to reorder the column by dragging them. |
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.
Nit-pick:
To reorder columns directly instead of via the actions menu popover, you can enable draggable EuiDataGrid header columns via the `columnVisibility.canDragAndDropColumns` prop. | |
This will allow you to reorder the column by dragging them. | |
You can enable draggable `EuiDataGrid` header columns with the `columnVisibility.canDragAndDropColumns` prop to reorder columns by dragging, instead of using the actions menu. |
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, I just copied there from EUI docs π
Updated for both EUI and EUI+ docs (commit).
Just a lil nit-pick, I think we could improve the phrasing. Tested both in the old and new docs β |
I also fixed this in #8183, not sure if we'd want to wait for that PR to land. Planning on addressing feedback on it today π |
@cee-chen Ah, I did not realize it was already addressed. I merely noticed it on the EuiDataGrid high contrast mode PR today π I'm fine to close this PR if it's already handled π |
Preview staging links for this PR:
|
π Build Succeeded
History
|
Summary
This PR fixes the docs examples for draggable EuiDatagrid columns as they were missing the prop
columnVisibility.canDragAndDropColumns
to be enabled π€·ββοΈThis additionally adds the missing draggable columns example to the EUI+ docs.
QA