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

DataGridMaxHeigh Missing in DataGrid FixedHeaderDataGridHeight ignored on Virtualize=true #3194

Closed
Mr-Pearce opened this issue Dec 1, 2021 · 3 comments
Assignees
Labels
Area: Documentation Something is missing in the documentation.

Comments

@Mr-Pearce
Copy link

Describe the bug
When Setting Virtualize="true" on DataGrid
FixedHeaderDataGridHeight=""
and
FixedHeaderDataGridMaxHeight=""
are ignored.

In https://blazorise.com/docs/extensions/datagrid/getting-started you list
DataGridMaxHeigh Sets the DataGrid height when Virtualize feature is enabled.

But in the current version 9.5.1 the DataGridMaxHeigh property is missing.
grafik
Also, the code compiles but gives an Error at runtime! (in firefox developer log)
Error: System.InvalidOperationException: Object of type 'Blazorise.DataGrid.DataGrid1[[MyType, MyNamespace, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' does not have a property matching the name 'DataGridMaxHeigh'.

Also: shouldnt there also be an DataGridMinHeigh property?
When setting Virtualize="true" style="height: 500px; max-height: 500px is added
To Reproduce
Steps to reproduce the behavior:

  1. Create a DataGrid like in the screenshot above.
  2. Run Project
  3. See error

Expected behavior
DataGridMaxHeigh shouldn't be missing.

Also please provide a sample code or point us to a minimalistic GitHub repo

Screenshots
see Screenshot above

Additional context
Add any other context about the problem here.

@David-Moreira
Copy link
Contributor

DataGridMaxHeigh? Or DataGridMaxHeight?
Seems like a spelling error in our docs. Have you tried DataGridMaxHeight?

@Mr-Pearce
Copy link
Author

Mr-Pearce commented Dec 2, 2021

DataGridMaxHeigh? Or DataGridMaxHeight? Seems like a spelling error in our docs. Have you tried DataGridMaxHeight?

Doesn't make any difference.
Intellicode cant even find any "DataGrid'max anything'"
grafik

But i just found out that it is under VirtualizeOptions. (which works just like intended btw.)
Maybe that is the error in the docs?
grafik

@David-Moreira
Copy link
Contributor

Oh, that's it haha. We'll fix the docs.

@stsrki stsrki added the Area: Documentation Something is missing in the documentation. label Dec 4, 2021
@stsrki stsrki added this to the 0.9.5 Support milestone Dec 4, 2021
@stsrki stsrki closed this as completed Dec 4, 2021
@stsrki stsrki added this to Support Aug 3, 2024
@stsrki stsrki moved this to ✔ Done in Support Aug 3, 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.
Projects
Archived in project
Development

No branches or pull requests

3 participants