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

Allow Column Chooser button to be aligned horizontally #5382

Closed
mtbayley opened this issue Mar 19, 2024 · 2 comments · Fixed by #5393
Closed

Allow Column Chooser button to be aligned horizontally #5382

mtbayley opened this issue Mar 19, 2024 · 2 comments · Fixed by #5393
Assignees
Labels
Area: Documentation Something is missing in the documentation. Type: Feature ⚙ Request or idea for a new feature.
Projects
Milestone

Comments

@mtbayley
Copy link

I would like the column chooser to be able to be aligned to the far right

image

@mtbayley mtbayley added the Type: Feature ⚙ Request or idea for a new feature. label Mar 19, 2024
@David-Moreira David-Moreira self-assigned this Mar 19, 2024
@David-Moreira David-Moreira added the Area: Documentation Something is missing in the documentation. label Mar 19, 2024
@David-Moreira
Copy link
Contributor

David-Moreira commented Mar 19, 2024

There's a PagerOptions API that let's you control the position of the pager elements.

image
image

The ColumnChooserPosition option is missing in the docs, but it should be available. We'll add it to the docs and also an example of the positioning.
Here's a live example, where it's allocated at the far right:
https://bootstrapdemo.blazorise.com/tests/datagrid/column-chooser

https://github.com/Megabit/Blazorise/blob/master/Demos/Blazorise.Demo/Pages/Tests/DataGrid/ColumnChooserPage.razor
PagerOptions="new DataGridPagerOptions() { ColumnChooserPosition = PagerElementPosition.End }"

@mtbayley
Copy link
Author

Thanks David,

This is perfect. Some clarification in the documentation would be helpful. I missed this.

@David-Moreira David-Moreira added this to 🔙 Backlog in Support via automation Mar 21, 2024
@David-Moreira David-Moreira added this to the 1.5 support milestone Mar 21, 2024
@David-Moreira David-Moreira moved this from 🔙 Backlog to 💪 In progress in Support Mar 21, 2024
@David-Moreira David-Moreira moved this from 💪 In progress to ⏳ In Review in Support Mar 21, 2024
@David-Moreira David-Moreira linked a pull request Mar 21, 2024 that will close this issue
@stsrki stsrki closed this as completed Mar 22, 2024
Support automation moved this from ⏳ In Review to ✔ Done Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Documentation Something is missing in the documentation. Type: Feature ⚙ Request or idea for a new feature.
Projects
Support
  
✔ Done
3 participants